0
$\begingroup$

How to code in python for BGE as detect "pressed" on keyboard ?

Example, AKEY to move x coordinate but when press A key it don't move infinitely however it does pressed...

How to solve it? Thanks

$\endgroup$
1
$\begingroup$

I found a link on blender.org here: https://docs.blender.org/api/blender_python_api_2_59_0/bge.events.html It covers keypresses using bge.events

|improve this answer|||||
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.