0 votes

If you look in the docs for spotlight, it has only one function set_param. With a enum. However it isn't explained very well, and just looking at the function seems off.

for example
Spotlight.set_param(3,14) is to increase the range to 14.

I'm wondering if there is a better way to do this.

in Engine by (260 points)

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.