Roof

is there any way of creating an upper limit? Ive tried some simple coding but it just forces the char down and ‘judders’ as I’ve used a hit test and and told it to minus 6 off the y position…

Any help what so ever would be greatly appreciated.