Help need SpriteKit player not affected by gravity but still able to jump and kick and walk but only to a vertían point

move sprite in SpriteKit along x and y but within a playable area so they do it walk on the “houses” but still jump which would have them overlap the house since this is 2D game any advice? I have tried playable rect but I get the fatal error and not sure how to set up the vectoring so the player can still jump and kick even whne not affected by gravit.

Help need SpriteKit player not affected by gravity but still able to jump and kick and walk but only to a vertían point
 
 
Q