Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make vector3 only change Y position?

Hello, I'm kinda new into scripting and slowly learning. I'm struggling to find out how to change only the Y position in vector3, any clues?

1 answer

Part.Position = Vector3.new(Part.Position.X,3,Part.Position.Z)

or

Part.Position = Part.Position + Vector3.new(0,3,0)

This discussion is preserved as it was. New answers, comments, and votes are closed.