I move my player with physics. Anyway, i need a if-shape.

action player ()
...
if(collision...)
{
...
}

I don't now if "glide" can help me in this case.