DecayKnowledgebase
functiongenerated

Keyboard.axis

-1, 0 or 1 from a pair of keys, for movement: Input.Keyboard.axis("A", "D") is -1 holding A, 1 holding D and 0 for neither or both.

Signature

Keyboard.axis(negative: String, positive: String) -> number

Member of Keyboard

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b