Something like this may work. I guess I should be more specific though. I'm trying to have the actor check to see if there is a tile right below them, like the line of pixels right under them in order to to toggle a "grounded" attribute. Of course I could use collisions but I find them to be unreliable. Thanks for the help.
Update: it works, thank you. I am concerned however how this method would fair on ramps. Thank you again.