Game Development Reference
In-Depth Information
Keeping the sprite onscreen
You will notice that the sprite will move offscreen. In order to keep it onscreen, perform the
following steps:
1. Select the sprite and select
Behaviors
in the left-hand side panel, as shown in the
following screenshot:
2. Once you click on
Behaviors
, click on the plus icon in the
Sprite: Behaviors
win-
dow. This is what the window should look like: