0 votes

Hi,

I would like to create a "Tool" script to make me bind 2 objects in the scene using a line. I will use this for example for binding messages like when this is picked up this door is opened.

Is there any possibility to do this now in godot?

The Tool keyword in scripts seems to be used to do some processing in editor and eventually graphycally update the node it is attached to. I need something at scene level not node level. For example I can't find a way to override scene click to let my code know what object was first selected (when user pushed left button down), then draw the line as the user drags (while left button down) and what object was selected at the end (when user released left mouse button).

Is that possible?

Cheers.

in Engine by (44 points)
edited by

1 Answer

0 votes

Thanks for the link. I will have to have a look at it.

Cheers!.

by (44 points)
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.

Categories