so i'm making a platform game, and i want to make a button where if it is stomped on by the player, it gets triggered, but if just ran into,it does not trigger the button and just stops the player. is there any way to do this. I tried to find an example and this is the best i could really find
youtube.com/watch
skip to around 36 seconds
thank you in advance for helping