0 votes

como podría hacer que un botón funcione solo cuando el personaje se acerque

Godot version 3.3.2
in Engine by (13 points)

You should provide an english and and spanish translation, just so that your question has a better chance of being answered

Debe proporcionar una traducción al inglés y al español, solo para que su pregunta tenga más posibilidades de ser respondida.

1 Answer

0 votes

You could get the distance from the sprite and the button, then disable the button when it passes a certain threshold.

Español (lo siento, esto fue traducido del inglés):
Puede obtener la distancia desde el sprite y el botón, luego deshabilitar el botón cuando pase un cierto umbral

by (246 points)

Thanks a lot

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 Frequently asked questions and 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 [email protected] with your username.