# how do i set jumps without using the jump function

**URL:** <https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543>\
**Category:** Game Development\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [January 17, 2024, 1:43am UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543 "2024-01-17T01:43:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DripTheSeawing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/driptheseawing/32/951357_2.png) [@DripTheSeawing](https://forums.unrealengine.com/u/DripTheSeawing)\
**Post date:** [January 17, 2024, 1:43am UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543/1 "2024-01-17T01:43:17Z")

</div>

I’m trying to make a game where the player swipes in the direction they want to jump, because of this I wont be using the jump feature of character movement, but I still want to limit midair jumps. Ive tried using a collision box on the bottom of the character, but it will only detect overlaps on itself, not overlaps with platforms. Any ideas on how I can do this?

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [January 17, 2024, 1:47am UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543/2 "2024-01-17T01:47:09Z")

</div>

Hey @DripTheSeawing!

Try using a line trace! Have it shoot straight down for x units and check IsValid? (the gray one) on the hit object. Then use a boolean that will enable or disable jumping coming from the True/False of the IsValid? check! 🙂

---

<div class="post-metadata">

**Author:** ![DripTheSeawing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/driptheseawing/32/951357_2.png) [@DripTheSeawing](https://forums.unrealengine.com/u/DripTheSeawing)\
**Post date:** [January 22, 2024, 6:47pm UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543/3 "2024-01-22T18:47:49Z")

</div>

can you show me some pictures of how i would use this? I’m not the most knowledgeable at unreal’s blueprint block library.

---

<div class="post-metadata">

**Author:** ![DripTheSeawing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/driptheseawing/32/951357_2.png) [@DripTheSeawing](https://forums.unrealengine.com/u/DripTheSeawing)\
**Post date:** [January 23, 2024, 12:25am UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543/4 "2024-01-23T00:25:57Z")

</div>

never mind, I looked up some solutions and I found that there’s a function for “Is Landed?” and it detects when the player lands on the ground. thanks anyway

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 22, 2024, 12:26am UTC](https://forums.unrealengine.com/t/how-do-i-set-jumps-without-using-the-jump-function/1620543/5 "2024-02-22T00:26:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
