The P_ you're looking for is P_IsObjectOnGround, if you need help in lua, a great place to start off is The SRB2 Wiki, try to search there before asking on the message board because a lot of the answers to questions beginning lua coders ask can be found there. Hope this helps! :wonderful: