GML
if direction != instance_nearest(object0.x,object0.y,object0)//jak mozesz kierunek porownywac z objektem?!
{
direction=direction-3
}
else
{
direction=direction+3
}
GML
if direction != instance_nearest(object0.x,object0.y,object0)
{
direction=direction-3
}
else
{
direction=direction+3
}
nie ! tylko !=