hi,
im getting an error for this code
the error is: non-static method getY() cannot be referenced from a static context.
help
mX = MouseInfo.getX(); mY = MouseInfo.getY();
mX = MouseInfo.getX(); mY = MouseInfo.getY();
MouseInfo mouse = Greenfoot.getMouseInfo(); mX = mouse.getX(); y = mouse.getY();