0 votes

Question is in title. Any suggestions? Thanks!

in Engine by (14 points)

is this something you want to implement in a game, or in the editor?

1 Answer

0 votes

If they're both in the same scene, it should be relatively simple. Just create a Slider
node of the desired size and set Sprite.scale to Vector2(Slider.value, Slider.value)
Here's what it would look like in editor:

extends Node

func _process(delta):
  $Sprite.scale = Vector2($Slider.value, $Slider.value)
by (106 points)
