In any case, I will leave something here to warn others that it is not necessarily a problem in their codes. I've been looking around thinking there would be some sort of official library or function, but all I found were loads of different projects, each with different scripts, and https://articlescad.com/you-should-know-w-linku-czy-pod-linkiem-g-stergeleri-552334.html