I want to increase/decrease a CollisionShape2D circle's radius gradually and up to a min/max limit and honestly i have no idea how, trying to use clamp and movetoward but the latter doesn't work with float values (which the radius is)
So is there something like movetoward for float values and if not, then how do i go on about this?
Complete beginner to godot, gdscript and coding in general and just trying to get out of tutorial hell, so go easy on me.
speed = 150
soundBubble.shape.radius = soundBubble.shape.radius.move_toward(8.5, 60.0, 1.0)
speed = 90
soundBubble.shape.radius = soundBubble_StandingRadius #want this to be a gradual change as well