[gd_scene load_steps=2 format=3 uid="uid://b3piw7awjaxgj"]

[sub_resource type="GDScript" id="GDScript_cmuwy"]
script/source = "extends Node

var dash_speed = 200

func activate(world, activator):	
	if $Timer.time_left != 0:
		return
	$Timer.start()
	const easeFactor = 1;
	activator.velocity = activator.move_direction.normalized() * dash_speed * easeFactor
	activator.move_state = 2

func discard(world, activator):
	pass
"

[node name="Node" type="Node"]
script = SubResource("GDScript_cmuwy")

[node name="Timer" type="Timer" parent="."]
process_callback = 0
wait_time = 0.3
one_shot = true
