Godot Version
4.6
Question
Hello!!
I was trying to figure this out on my own but no luck. I have a ring and an area that i want the ring to enter, and if the player touches the left arrow, it would print something (for now), but its not printing what i need it to?
This is the code for the area i want the ring to enter btw:
func _on_blue_arrow_area_entered(area: Area2D) -> void:
print("Ring entered!!")
bluearrow.visible = true
if Input.is_action_just_pressed("left_arrow"):
print("Ring touched!!")
Its detecting the ring and its making it so that the arrow shows (and disappears) depending on if the ring is in or outside of the area, but when i press the left arrow while the ring is within the area, it doesnt do anything? (I know the key is in my input map as well)
Any help is greatly appreciated!!