0 votes

I created the object Prop2D it has a Script Variable in which the level designer
can choose a sprite. This sprite is of course only visible when the game is run.

My question is, can I give my Prop2D object a gizmo to make it easier for the lvl designer to see where he placed said props in the scene?

(the default gizmo is hard to see and difficult to select)

I tried with the EditorSpatialGizmo, with no success.

Godot version 3.2.3 stable
in Engine by (17 points)

Is your Prop2D declared as tool?
If yes you could setget your variable to make appear instantly in the editor.
You could also add a Spriteor somehting so you have something to click on in the editor and delete it in the _ready() method. Engine.editor_hint might come in handy.

No, it is not declared as a tool. But i've gone with the sprite idea, and it works perfecty. Thank you

Please log in or register to answer this question.

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.