Draw Order
2025/12/27
- Type
- Learning Resource
- Format
- Glossary Article
- Version
- General
- Subject Tags
- Created
- Updated
- 2026/02/16
- 2025/12/27
Each rendered frame is composed of multiple layers of graphics. The order in which these layers are drawn is called the draw order. The draw order is important because it determines which graphics are drawn on top of others.
In Godot, the draw order is determined:
z_index property can change the draw order of that item. Using masks to clip parts of an image will also change the draw order.render_priority property.3D is more complicated than 2D because in addition to draw order, there are also rendering passes. These are different stages of rendering that can be used to apply different effects to the scene. For example, a scene can be rendered with a depth pass to create a depth map, which can be used to create effects like fog or depth of field.
Don't stop here. Step-by-step tutorials are fun but they only take you so far.
Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.
Get help from peers and pros on GDQuest's Discord server!
20,000 membersJoin ServerThere are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!
Sponsor this library by learning gamedev with us onGDSchool
Learn MoreImprove and build on assets or suggest edits onGithub
Contributeshare this page and talk about GDQUest onRedditYoutubeTwitter…