0 votes

I am new to godot engine and working on a HUD for my little game but I don't know how to place a node ( ex: a colored rectangle ) relative to the view ( I want to place it to the top right of the view all the time ). please some one help me

in Engine by (250 points)

1 Answer

+2 votes
Best answer

You have to add a CanvasLayer to your scene and add the things you want to stay on the screen as a child to it.
CanvasLayer demonstration

by (66 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.