Im very new to Godot and GDScript so this might just be a mistake on my half but it seems that the Input feature is not working in a curtain function.
Here's my script :
if body is KinematicBody and Input.is_action_just_pressed("interact"):
I have got rid of the imput part of the script
Input.is_action_just_pressed("interact") and it works just fine with collisions but Input isn't working in the func.
BTW, Indents are there in the code.
Anyone has any help, it is very appreciated.