I am getting this error:
Invalid set index 'set_wait_time' (on base: 'null instance') with value of type 'float'. when
start() is called.
frequency are timers and child nodes.
const AMPLITUDE = 20
const DURATION = 0.2
const FREQUENCY = 15
$duration.set_wait_time = DURATION
$frequency.set_wait_time = 1/float(FREQUENCY)
I am new so I'd greatly appreciate if you could help :D