vdp_sprite_set_position - Kyuchumimo/Micro-Joy-Home-Video-Computer GitHub Wiki

🧩🖼️ This is a general-purpose video-related function.

vdp_sprite_set_position(number, x, y)

Parameters

  • number: sprite number (0-31)
  • x: sprite X screen coordinate
  • y: sprite Y screen coordinate

Description

This function defines the position of one of the 32 visible sprites at screen.

Tip: If you no longer need to display a sprite in a frame, hide it by positioning it off the screen.