I need help with vector2

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Baugon

i want to use var movimiento = vector2() but i have this error message:
Parse error the method “vector2” isn’t declared in the current class

How i can declared a method in a current class?

Thank you.

Classes always have a capital letter in the beginning, check Kidscancode’s answer.

Freeranger Studios | 2020-03-16 09:07

:bust_in_silhouette: Reply From: kidscancode

Vector2() with a capital “V”.