is there anyway to mimic the mouse hovering over a point or an actor. i tried using mousMoved but its a bit limited.


public void act() { if (Greenfoot.mouseMoved(this) && info == null) { info = new AttributeInfo(attribute, effect); getWorld().addObject(info, getWorld().getWidth() / 2, 80); } else if (Greenfoot.mouseMoved(null) && !Greenfoot.mouseMoved(this)) { getWorld().removeObject(info); info = null; } }