aframe Controls (component) Wasd controls


Example

The wasd-controls component controls an entity with the W, A, S and D or arrow keyboard keys. The wasd-controls component is commonly attached to an entity with the camera component.

<a-entity camera look-controls wasd-controls></a-entity>

For azerty keyboards, you could use Z, Q, S and D keys