It says that <identifier> is expected. So, what would I need to use instead, and why is ".class" incorrect? Thanks!
if (isTouching(Greenfoot.getMouseInfo().class))
{
MouseInfo m = Greenfoot.getMouseInfo();
setLocation(m.getExactX(), m.getExactY());
if (m.isTouching("TriangleAnswer"))
{
getWorld().removeObject("TriangleAnswer");
}
}

