Skip to content

Stay On Screen

Move the object to keep it visible on the screen.

Authors and contributors to this community extension: 4ian, Bouh, D8H.


Force the object to stay visible on the screen by setting back its position inside the viewport of the camera.

The shoot'em up example uses this extension (open the project online).


Tip

Learn how to install new extensions by following a step-by-step guide.

This page is an auto-generated reference page about the Stay On Screen extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.