Skip to content

Move and Position your GUI

TheEpicBruhman edited this page Aug 23, 2026 · 10 revisions

After creating your GUI, the next most important thing to do is to position it the way you want

These are accomplished by G3 Points (g3.point), which are 3 to 4 core properties of the g3Any that determine how its rotated in space

image

g3Any.Offset (Number)

Offset determines the Z component of the g3Any. Think of this as a distance from the screen

g3Any.Position (Vector2 / UDim2)

Position is the X and Y components of the g3Any. Think of this as a 2D position, as where it is on the screen

Due to this being somewhat analogous to 2D position, the Y component goes downwards

Parts are automatically positioned at the center of the screen as the starting point

Position as a Vector2

This describes absolute position from the center of the screen. This means a position at (2, 0) remains at (2, 0) at offset 1 or offset 10

Moving the GUIs by y and x components respectively

Position as a UDim2

This works similarly to UDim2 scaling on 2D UI elements. Relative scaling takes place first (position relative to screen space), given the current screen offset, and then it adds the offsets from the position UDim2 after

Changing the offset with a Position at (0.25, 0, 0.25, 0)

g3Any.Rotation (Vector3)

Rotation is analogous to workspace rotation on g3Parts, but differs for g3Gui

Rotation acting on g3Gui acts as a PivotTo, rotating all of its parts about its RotationCenter (Default 0, 0, 0, or at the center of the gui)

Rotating a GUI on the X axis

g3Gui.RotationCenter (Vector3)

RotationCenter is only on g3Gui, and works like a model's pivot. It works as a relative shift from the GUIs center, and is only used to determine where the rotation is rotating about

Rotating a GUI on the X axis about a rotation center (0, 5, 0)

Base

Basics

Getting Started / Making new 3D GUI

Move / Position your GUI

Intermediate

General properties of G3 objects

General methods of G3 objects

Prevent GUI being hidden behind the Player

Prevent GUI being obscured by the surroundings

Advanced

Boost performance by merging parts

Support G3!

If you are interested in G3 expanding beyond a passion project, or if you want to boost G3 along with its development and see more advanced features, please donate!

Donations mean a lot of me, as they are direct proof that I'm going in the right direction. Donating even a dollar would mean so much to not only me but the rest of my family.

ko-fi

Clone this wiki locally