My Cursor disappears when I turn my focus towards the Godot Editor

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KramchayDig

I have problems when I open this project on editor my cursor always disappear now and then I can select the editor but I can no longer see where is my cursor. It started happening when I just hit the F5 to run the game I used to use alt-F4 to close the game since my input mode I used is captured mode.
in this screenshot my console window seems to be out of control and still running the print function references I wrote in my GDScript a bunch of Vector3, basis, or rotation degrees values and other statements even though my game is NOT running. I tried to restart everything including the computer and the problem is still there. I want to know if it’s coming from engine or not please reply I don’t want to delete my project just to find a way to remove the editor problem.

:bust_in_silhouette: Reply From: Dlean Jeans

You probably has a tool script running like this:

extends Spatial

func _ready():

To set it back to normal, add this line and restart your project:

	if not Engine.editor_hint:

how do I get into scripting without using my cursor because I can’t see my cursor anymore.

KramchayDig | 2019-06-30 10:33

Never mind I was able to find a way by turning the cursor focus on the console window and I can see the cursor and I can select the Script editor and my cursor may disappear but I can get to code. Upon writing your code the console window finally stops running as I stop running the game but unfortunately my cursor is still not there but I got it back to normal when I close and open the editor again so thank you again for the answer.

KramchayDig | 2019-06-30 10:37

You can press F1, F2 and F3 to switch between 2D, 3D and Script workspaces respectively. Alternatively, it’s possible edit your .gd script inside an external code editor.

Dlean Jeans | 2019-06-30 12:10