How do I create a platform character that doesn't instantly drop off the screen

Just add the platform behavior to the platform and it will not fall of if you want it to not go sideways out then place those platforms with platformer behaviour and place those outside the screen so they work as borders