How do you add functional stairs to a 2D game?

Hey everyone, I’m trying to develop a 2D side scrolling platformer. I’ve got quite limited knowledge about 2D game development but id like to know how. My question today is how can i make stairs that only activate when i jump on them. For example, if the character ran past the stairs then it would ignore them but as soon as the character jumps on to the stairs they activate allowing me to climb up to the next area of the game

Thanks :slight_smile:

hey, watch this it might help you.

https://streamable.com/sif5e

watch these:). it’s not an official solution but works fine.

part1

part2

bandicam 2017-12-31 08-35-11-132