i want to detect if an object has been touched, how do i do that
There are different ways to get this done with collision objects Physics introduction — Godot Engine (stable) documentation in English
im looking for a function, i dont wanna learn everything about physics in godot
If you can’t be bothered to read the VERY FIRST PARAGRAPH of the link provided you, why should we take the time to help you?
Try doing that. And pay attention to the bolded words. Come back when / if you have problems.
Unfortunately, you just can’t call a function without understanding the correct node setup, the signals emitted by collision objects, etc. So, your best bet is to go through the link I sent.
Or, explain where you’re at now, what you’ve already done and maybe we can point you in the right direction to help you achieve what you want.
i thought it was a paragraph all about physics and i had to read trough it all to find it
the name was missleading, sorry