0 votes

I'm trying to add a slider in tool mode like this:

enter image description here

code:

tool
extends Position2D

export(float) var CustomSlider = 0.1 setget changeSlider_x

func changeSlider_x(changed_val):
    CustomSlider=changed_val
Godot version 3.4
in Engine by (46 points)

1 Answer

0 votes
Best answer

solution is here:
https://stackoverflow.com/questions/71077748/how-to-add-slider-in-tool-mode

export(float, 0, 10) var CustomSlider:
by (46 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.