Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2171
Closed
Open
Issue created Feb 20, 2020 by Neil Brown@nccbMaintainer

[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
Assignee
Assign to
Time tracking