Hi,
I'm trying something in 2D.
I put a square (.jpg) on the screen.
I want to do an action when an object touch it.

so i'm looking for something like it in a first time:
Quote:

if (object.pos_x > square.pos_x_min && object.pos_x< square.pos_x_max)
{
the action
}


but i only know "pos_x" for now.. nothing with min and max.
I searched pos_x in the manual but nothing with it too.
So i'm looking for help :y

Last edited by ayks; 03/07/10 23:42.