# Dive mechanic in platform game

**URL:** <https://forums.unrealengine.com/t/dive-mechanic-in-platform-game/446393>\
**Category:** Blueprint\
**Tags:** get-actor-right-vect, platform-support, unreal-engine, UE4, Blueprint, question\
**Created:** [April 1, 2019, 3:26pm UTC](https://forums.unrealengine.com/t/dive-mechanic-in-platform-game/446393 "2019-04-01T15:26:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1341af35](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1341af35](https://forums.unrealengine.com/u/anonymous_user_1341af35)\
**Post date:** [April 1, 2019, 3:26pm UTC](https://forums.unrealengine.com/t/dive-mechanic-in-platform-game/446393/1 "2019-04-01T15:26:12Z")

</div>

Hello,

I have a simple 2D platform side-scroller game for 2 players. I can double jump or move left and right. How would one go about making the characters ‘dive’ back to the ground when S is pressed - basically like a sort of opposite to jumping, so that when I press S mid-air I can dive towards the ground.

Thank you!
