Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Vector2.Set

Switch to Manual
public void Set(float new_x, float new_y);

Parameters

Description

Set x and y components of an existing Vector2.