Sprites

Sprites were added in the November 2021 release and remain in experimental status. They are not part of the JSLogo standard yet.

Sprites are images placed on the canvas that can be moved and otherwise manipulated independently. They contain their own properties, such as position, rotation and scale.

Function NameArgumentsDescription
newname url xpos yposInstantiates a new sprite
movename xpos yposMove a named sprite to a new location
deletenameRemoves named sprite from the canvas
Last updated on December 22, 2022