How to check if player is dashing

How would I create an event that checks if the player is dashing?


I want to use this in combination with a dash stamina plugin to have npcs you can charge into or something.
I don't have RPG Maker in front of me, but if I remember correctly, under Conditional Branches in tab 1 of the Event pages there should be an "If ___ button is pressed" and you can select shift.
Yes I saw that, but since I'm combining it with a dash stamina, that condition doesn't know if the player is actually dashing.  It's only checking for the button so the player just has to hold it even if they can't run.  Any other ways to see if actually dashing?
check this $gamePlayer.isDashing()
That worked! Thank you so much!
check this $gamePlayer.isDashing()
Excuse me sir, do I put it in the conditional branch? because it doesnt work.
Excuse me sir, do I put it in the conditional branch? because it doesnt work.
you need to execute it, like make common event and make it Parallel
you need to execute it, like make common event and make it Parallel
Okay thanks

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-player-is-dashing.57399/