Is there an ACTOR in this position?

Hello. I want to know if in a specific coordinate is some ACTOR eg
is any ACTOR with TAG 01 in PositionX and PositionY of the screen?
Thank you
is any ACTOR with TAG 01 in PositionX and PositionY of the screen?
Thank you
Comments
-drahc
make an attribute with the coordinates where you want them (coordinate x and y)
if positionX=coordinateX{
if positionY=coordinateY{
//in position
}
//x in position y not
move actor1 to coordinateY
}
otherwise{
move to coordinateX and y
}
wouter