I'm not sure if this will work, or if this is the best way to do it. But it's worth a try lol.
If you are using the Platform or the 8 direction behavior, both have a condition that check if the object is moving.
So you just need to do a check if the player is overlapping the spot and at the same time is NOT moving.
Tell me if it works ^^