Detecting when player is pressing w,a,s, or d.
Is there a way to detect when the player is pressing w,a,s, or d. I'm not looking for up or down movement (space or e) I just want to detect when player is pressing w,a,s, or d in lua.
FOSS gamedev and creative worlds
https://forums.minetest.org/
Neuromancer wrote:Is there a way to detect when the player is pressing w,a,s, or d. I'm not looking for up or down movement (space or e) I just want to detect when player is pressing w,a,s, or d in lua.
PilzAdam wrote:Nope, there isnt.
Neuromancer wrote:PilzAdam wrote:Nope, there isnt.
Is there any way to tell if they are moving?