[RMXP] Check for player's transparency

Hello, sorry if this is just as small question to make a thread for.

Soo... I would like to know how to do a check if the player's transparency is equal to 0 or check if the player is transparent, I am using RPG Maker XP.

I've tried searching a bunch of times but couldn't find it. Thanks in advanced!
Script Support is for asking for help with existing scripts.

I've moved this thread to Learning Ruby. Thank you.

If you're talking about the "player" as the character on the map, then "$game_player.transparent" will return True when they are transparent and False when they are visible.

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-check-for-players-transparency.99424/