Sprint Toggle
Ready after setupMovement7 nodes, 7 wiresGallery
Each press of the sprint key switches between running at 900 and walking at 600.
Use this exact graph
Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans
Before you paste3
- Parent classCharacter
Class Settings, then Parent Class. Or create the Blueprint from Character.
- bIsSprintingBoolean
My Blueprint, then + Variable.
- IA_SprintInput Action
Create the Input Action, then map it to a key in your Input Mapping Context.
How it works
- Press sprintIA_Sprint goes through Flip Flop, which alternates on each press.
- Start sprintingA sets bIsSprinting to true and Max Walk Speed on Character Movement to 900.
- Stop sprintingB sets bIsSprinting to false and Max Walk Speed back to 600.
More movement blueprints
See all 55Made with Cosindra Blueprint Studio