transform position without variables

I need help with transform position, i tried to search on google but i coudn’t find without variables
I want to make

transform.localPosition=Vector2.Lerp(WeaponPosition, -->Vector2 position without variable<--, Time.deltaTime * 25);

sorry if i explained it bad.

Just write the Vector2? Vector2(5.5, 10.2)

–Eric

Will localPosition accept a Vector2?

Yeah, you can use Vector2 and Vector3 interchangeably. In the case where a Vector2 “should” be a Vector3, it will be a Vector3 with z = 0.

–Eric