This site requires JavaScript, please enable it in your browser!
Greenfoot back
SimonWalls
SimonWalls wrote ...

2019/2/27

mousePressed isn't working on Greenfoot 3.5.0

SimonWalls SimonWalls

2019/2/27

#
I'm trying to use mousePressed in the act methode of an object as following: if (Greenfoot.mousePressed(this)) { System.out.println("pressed"); } Everything works great, until I'm changing the cell size in MyWorld from 1 to 50: super(10, 10, 50); Now the mousePressed event for my object isn't firing (stays false). Important: This is working on Greenfoot 3.5.2, but I have to use 3.5.0.
You need to login to post a reply.