+4 votes

So currently im trying to change the mouse cursor, and i found a way said thing but it says i need to do the texture path, how would i do this? i remembertrying to do this before but couldnt figure it out


Apparently this is wrong, So how about would i get the path if it says "Error converting string to object"

void    set_custom_mouse_cursor ( Texture image, Vector2 hotspot=Vector2(0,0) )

That's what it is if it's any help so you dont have to look up the thing

in Engine by (484 points)

1 Answer

+8 votes
Best answer

load("res://icon.png") or preload("res://icon.png") will return Texture

by (9,712 points)
selected by

Thanks for the help ^^

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.