Not in the input bindings, but in on_input(). The input bindings map an action to a keyboard key, mousebutton or gamepad button. They don’t map to a specific state (pressed, released, repeated etc). This information is provided in the action table. The input manual is a good start, especially the section on Action fields. There’s also a couple of complete examples in the examples section. Here’s one: https://www.defold.com/examples/input/down_duration/
1 Like