![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | DweebGamering |
I’m new to Godot & following this tutorial. I got an error when I’m trying to use print
extends CharacterBody2D
func _physics_process(_delta):
var input_direction = Vector2(
# positive is down // negative is up
#Having both down will not make em move
Input.get_action_strength("right") - Input.get_action_strength("left"),
Input.get_action_strength("down") - Input.get_action_strength("up")
)
print("fire")
Same error pops up when I try to do print(input_direction)