The Python Arcade Library: Cursor interactions

App Window

Cursor is used to manipulate elements of graphical user interfaces such as menus, buttons, scrollbars. In case of games it can also interact with units, buildings or mini-map. This script example is focused on basic cursor interactions such a activating buttons and change of unit behavior.

The Python Arcade Library: Sprites

Sprite

Sprite as a term means texture with position, width, height, angle and collision area. In Python Arcade Library there are few kinds of sprite. The most basic class to use is arcade.Sprite. To learn how these sprites work check included code example.