[GREENFOOT-844] Mouse API a bit incomplete
Greenfoot has a MouseInfo class that you can obtain with Greenfoot.getMouseInfo(), and that has a getActor() method which gets the actor involved; the actor that was clicked on, or dragged. But there's no way at the moment to tell the difference between these events (and the user may well want to know the difference). I suggest we should add a method to MouseInfo to tell the difference between clicking and dragging. We could also allow recording the start position that the actor was dragged from; this might need some design thinking.
Issue metadata
- Issue type: Bug
- Priority: Medium