extends KinematicBody2D
var motion = Vector2()
func _physics_process(delta):
if Input.is_action_pressed("ui_right"):
motion.x = 100
I'm not able to indent the 4th line of code with a TAB.
Using spaces seems to work, but I wished I could indent it with a hit of the TAB key.
extends KinematicBody2D
var motion = Vector2()
func _physics_process(delta):
if Input.is_action_pressed("ui_right"):
motion.x = 100
I'm not able to indent the 4th line of code with a TAB.
Using spaces seems to work, but I wished I could indent it with a hit of the TAB key.