[RMXP] how it check if the player is above a certain Y position

hello, this is my first time using the RPGMAKER forums and I've been having problems with the scripting function of the engine more specifically, RPGMAKERXP, is there any way to check if the player has moved above a certain Y position? This is the code I have written for it that I tried using with a branch function:

$gamePlayer._y => 10

how could I get this code to work? since instead of it working I have been getting: SyntaxError occurred while running script

I've moved this thread to RGSSx Script Support. Thank you.

I know very little about RGSS, but here's my guess:
Ruby:
$game_player._y >= 10
Code:
$game_player.y >= 10
Not sure if "above a certain Y position" means what you think it means. This script call will return true if the player is currently 10 or more tiles away from the top of the map.
Code:
$game_player.y >= 10
Not sure if "above a certain Y position" means what you think it means. This script call will return true if the player is currently 10 or more tiles away from the top of the map.
you found this out the hard way at least I was able to get it working 100% by reversing the >= and with a little help from caethyril

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-how-it-check-if-the-player-is-above-a-certain-y-position.147598/