Is this Collide command Viable?

is this possible????
I want my player to move up when it collides with spring(by the way I've noticed that -y is up and +y is down should it be the other way around?)
if (CollisionFree("Event Actor", spring.x, spring.y)) y=y-5;
I want my player to move up when it collides with spring(by the way I've noticed that -y is up and +y is down should it be the other way around?)
if (CollisionFree("Event Actor", spring.x, spring.y)) y=y-5;