Jump Problem!

Hello :heart:
when i set my obj into character mode, and add motion “Jump”
the character Jumps Even in the air (Space)
which means:
*(the currrent issue): if character Collide with something, set Jump to true.
and its stays true even if the character not colliding anymore.
*(what it should be): if character collide with something, set Jump to true, else(not colliding) set it to false.
(true: Jump) and (False: Dont Jump)
this way the character wont be able to jump unless is atouched with something (Ground)
soory for my english .iam an arabic :slightly_smiling_face: