Eyes: X/Y view (internal_eyes_look_xy)¶
What it does: Sets the view direction according to the input X/Y coordinates (eyes.look_joystick).

Inputs¶
x: value of type Number.y: value of type Number.
Output¶
- None (statement block).
When to use it¶
- When you want to control the view with a joystick or values from sensors.
- For tracking the target in the X/Y plane.
Tips and pitfalls¶
- X/Y values are passed directly to
eyes.look_joystick(...)without additional restriction in the generator. - After changing the view direction, execute
internal_eyes_refreshto render the position.
Generated Python example¶
eyes.look_joystick(0, 0)