Vector2.difference() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
value
No

Returns

{Vector2|Vector4} | On error: {undefined}

Description

Return the result of substracting the specified value from the values of this Vector2. The result will be returned in a Vector2, unless the specified value was a Vector4, in which case it will be returned in a Vector4.

⚠️ **GitHub.com Fallback** ⚠️