CC#•Created by BalthazarArgall on 9/4/2024 in #help How do I reference either the x or y field of a Vector2 depending on some condition?
I think the issue you are running into is that Vector2 is a type of struct which is a value type and you are trying to use it like a reference type.