I am attempting to make a platformer with touch controls and I want my jump to have variable height. This is easy with keyboard controls, as you can just use "on key released", but not so with touch controls. Using "on any touch released", means that letting go of the left or right buttons will also stop the jump. And using on object touched and any touch released results in the same issue. Using a not touching condition would also just always have the jump shortening condition set.
Does anyone have any suggestions?