Vector2.operator == Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector2
Vector2.operator ==

static operator == (lhs : Vector2, rhs : Vector2) : boolean

Description

Returns true if the vectors are equal.

This will also return true for vectors that are really close to being equal.