From a248ef0668dad52020eaebdec8bc6831e37ebfd6 Mon Sep 17 00:00:00 2001 From: HarryBlueJay <88053351+HarryBlueJay@users.noreply.github.com> Date: Thu, 19 Feb 2026 16:52:52 -0500 Subject: [PATCH 1/2] Add missing value information for most enums --- docs/objects/enums/CameraMode.md | 11 ++++---- docs/objects/enums/CollisionType.md | 10 +++---- docs/objects/enums/HorizontalAlignment.md | 13 +++++---- docs/objects/enums/ImageType.md | 15 +++++----- docs/objects/enums/ParticleColorMode.md | 16 +++++------ docs/objects/enums/ParticleShape.md | 18 ++++++------ docs/objects/enums/ParticleSimulationSpace.md | 8 +++--- docs/objects/enums/TextFontPreset.md | 28 +++++++++---------- docs/objects/enums/TextJustify.md | 14 +++++----- docs/objects/enums/TextVerticalAlign.md | 10 +++---- docs/objects/enums/VerticalAlignment.md | 14 ++++++---- 11 files changed, 83 insertions(+), 74 deletions(-) diff --git a/docs/objects/enums/CameraMode.md b/docs/objects/enums/CameraMode.md index 33c0e4d6..e8c11efd 100644 --- a/docs/objects/enums/CameraMode.md +++ b/docs/objects/enums/CameraMode.md @@ -6,8 +6,9 @@ icon: polytoria/Enum # CameraMode -| Name | Description | -| ------------------------- | ----------------------------------------------- | -| `CameraMode.Scripted` | Camera is able to be controlled by scripts | -| `CameraMode.FollowPlayer` | Camera is controlled by the player `(default)` | -| `CameraMode.FreeCam` | Camera is able to be freely moved by the player | +| Name | Value | Description | +| ------------------------- | ----- | ----------------------------------------------- | +| `CameraMode.FollowPlayer` | 0 | Camera is controlled by the player `(default)` | +| `CameraMode.FollowTarget` | 1 | Same as `CameraMode.Scripted` | +| `CameraMode.Free` | 2 | Camera is able to be freely moved by the player | +| `CameraMode.Scripted` | 3 | Camera is able to be controlled by scripts | diff --git a/docs/objects/enums/CollisionType.md b/docs/objects/enums/CollisionType.md index a8ad265f..bbd62fef 100644 --- a/docs/objects/enums/CollisionType.md +++ b/docs/objects/enums/CollisionType.md @@ -4,8 +4,8 @@ description: CollisionType is an Enum. icon: polytoria/Enum --- -| Name | -| -------- | -| `Bounds` | -| `Convex` | -| `Exact` | +| Name | Value | +| -------- | ----- | +| `Bounds` | 0 | +| `Convex` | 1 | +| `Exact` | 2 | diff --git a/docs/objects/enums/HorizontalAlignment.md b/docs/objects/enums/HorizontalAlignment.md index 79408ddf..c4a4b84c 100644 --- a/docs/objects/enums/HorizontalAlignment.md +++ b/docs/objects/enums/HorizontalAlignment.md @@ -8,8 +8,11 @@ icon: polytoria/Enum !!! note "This is undocumented on the original documentation - this is interpreted from references on the original documentation" -| Name | Description | -| ---------------------------- | --------------------------------- | -| `HorizontalAlignment.Left` | Aligned to the left | -| `HorizontalAlignment.Middle` | Aligned to the middle `(default)` | -| `HorizontalAlignment.Right` | Aligned to the right | +| Name | Value | Description | +| ------------------------------- | ----- | --------------------------------- | +| `HorizontalAlignment.Left` | 0 | Aligned to the left | +| `HorizontalAlignment.Middle` | 1 | Aligned to the middle `(default)` | +| `HorizontalAlignment.Right` | 2 | Aligned to the right | +| `HorizontalAlignment.Justified` | 3 | Text is justified | +| `HorizontalAlignment.Flush` | 4 | Text is flush aligned | +| `HorizontalAlignment.Geometry` | 5 | Aligned to the geometry | diff --git a/docs/objects/enums/ImageType.md b/docs/objects/enums/ImageType.md index a8cf739b..f47c47a6 100644 --- a/docs/objects/enums/ImageType.md +++ b/docs/objects/enums/ImageType.md @@ -4,10 +4,11 @@ description: ImageType is an Enum. icon: polytoria/Enum --- -| Name | -| -------------------- | -| `Asset` | -| `AssetThumbnail` | -| `PlaceThumbnail` | -| `UserAvatarHeadshot` | -| `GuildIcon` | +| Name | Value | +| -------------------- | ----- | +| `Asset` | 0 | +| `AssetThumbnail` | 1 | +| `PlaceThumbnail` | 2 | +| `UserAvatar` | 3 | +| `UserAvatarHeadshot` | 4 | +| `GuildIcon` | 5 | diff --git a/docs/objects/enums/ParticleColorMode.md b/docs/objects/enums/ParticleColorMode.md index 1c76aed8..4e7b176c 100644 --- a/docs/objects/enums/ParticleColorMode.md +++ b/docs/objects/enums/ParticleColorMode.md @@ -4,11 +4,11 @@ description: ParticleColorMode is an Enum. icon: polytoria/Enum --- -| Name | -| ------------- | -| `Multiply` | -| `Additive` | -| `Subtractive` | -| `Overlay` | -| `Color` | -| `Difference` | +| Name | Value | +| ------------- | ----- | +| `Multiply` | 0 | +| `Additive` | 1 | +| `Subtractive` | 2 | +| `Overlay` | 3 | +| `Color` | 4 | +| `Difference` | 5 | diff --git a/docs/objects/enums/ParticleShape.md b/docs/objects/enums/ParticleShape.md index b00397f5..657cc649 100644 --- a/docs/objects/enums/ParticleShape.md +++ b/docs/objects/enums/ParticleShape.md @@ -4,12 +4,12 @@ description: ParticleShape is an Enum. icon: polytoria/Enum --- -| Name | -| ------------ | -| `Sphere` | -| `Hemisphere` | -| `Cone` | -| `Box` | -| `Donut` | -| `Circle` | -| `Rectangle` | +| Name | Value | +| ------------ | ----- | +| `Sphere` | 0 | +| `Hemisphere` | 1 | +| `Cone` | 2 | +| `Box` | 3 | +| `Donut` | 4 | +| `Circle` | 5 | +| `Rectangle` | 6 | diff --git a/docs/objects/enums/ParticleSimulationSpace.md b/docs/objects/enums/ParticleSimulationSpace.md index 5bfd96de..2d93b0d2 100644 --- a/docs/objects/enums/ParticleSimulationSpace.md +++ b/docs/objects/enums/ParticleSimulationSpace.md @@ -4,7 +4,7 @@ description: ParticleSimulationSpace is an Enum. icon: polytoria/Enum --- -| Name | -| ------- | -| `Local` | -| `World` | +| Name | Value | +| ------- | ----- | +| `Local` | 0 | +| `World` | 1 | diff --git a/docs/objects/enums/TextFontPreset.md b/docs/objects/enums/TextFontPreset.md index c179257c..98f06576 100644 --- a/docs/objects/enums/TextFontPreset.md +++ b/docs/objects/enums/TextFontPreset.md @@ -10,17 +10,17 @@ icon: polytoria/Enum # TextFontPreset -| Name | -| --------------------------------------------------------------------- | -|

SourceSans

| -|

PressStart2P

| -|

Montserrat

| -|

RobotoMono

| -|

Rubik

| -|

Poppins

| -|

Domine

| -|

Fredoka

| -|

ComicNeue

| -|

Orbitron

| -|

Papyrus

| -|

ComicSansMS

| +| Name | Value | +| --------------------------------------------------------------------- | ----- | +|

SourceSans

| 0 | +|

PressStart2P

| 1 | +|

Montserrat

| 2 | +|

RobotoMono

| 3 | +|

Rubik

| 4 | +|

Poppins

| 5 | +|

Domine

| 6 | +|

Fredoka

| 7 | +|

ComicNeue

| 8 | +|

Orbitron

| 9 | +|

Papyrus

| 10 | +|

ComicSansMS

| 11 | diff --git a/docs/objects/enums/TextJustify.md b/docs/objects/enums/TextJustify.md index 18d637a0..64a73722 100644 --- a/docs/objects/enums/TextJustify.md +++ b/docs/objects/enums/TextJustify.md @@ -6,10 +6,10 @@ icon: polytoria/Enum # TextJustify -| Name | -| --------------------- | -| `TextJustify.Left` | -| `TextJustify.Center` | -| `TextJustify.Right` | -| `TextJustify.Justify` | -| `TextJustify.Flush` | +| Name | Value | +| --------------------- | ----- | +| `TextJustify.Left` | 0 | +| `TextJustify.Center` | 1 | +| `TextJustify.Right` | 2 | +| `TextJustify.Justify` | 3 | +| `TextJustify.Flush` | 4 | diff --git a/docs/objects/enums/TextVerticalAlign.md b/docs/objects/enums/TextVerticalAlign.md index d39ba061..3fb57236 100644 --- a/docs/objects/enums/TextVerticalAlign.md +++ b/docs/objects/enums/TextVerticalAlign.md @@ -6,8 +6,8 @@ icon: polytoria/Enum # TextVerticalAlign -| Name | -| -------------------------- | -| `TextVerticalAlign.Top` | -| `TextVerticalAlign.Middle` | -| `TextVerticalAlign.Bottom` | +| Name | Value | +| -------------------------- | ----- | +| `TextVerticalAlign.Top` | 0 | +| `TextVerticalAlign.Middle` | 1 | +| `TextVerticalAlign.Bottom` | 2 | diff --git a/docs/objects/enums/VerticalAlignment.md b/docs/objects/enums/VerticalAlignment.md index ff31293f..1e737e54 100644 --- a/docs/objects/enums/VerticalAlignment.md +++ b/docs/objects/enums/VerticalAlignment.md @@ -8,8 +8,12 @@ icon: polytoria/Enum !!! note "This is undocumented on the original documentation - this is interpreted from references on the original documentation" -| Name | Description | -| -------------------------- | --------------------- | -| `VerticalAlignment.Top` | Aligned to the top | -| `VerticalAlignment.Middle` | Aligned to the middle | -| `VerticalAlignment.Bottom` | Aligned to the bottom | + +| Name | Value | Description | +| ---------------------------- | ----- | ----------------------- | +| `VerticalAlignment.Top` | 0 | Aligned to the top | +| `VerticalAlignment.Middle` | 1 | Aligned to the middle | +| `VerticalAlignment.Bottom` | 2 | Aligned to the bottom | +| `VerticalAlignment.Baseline` | 3 | Aligned to the baseline | +| `VerticalAlignment.Geometry` | 4 | Aligned to the geometry | +| `VerticalAlignment.Capline` | 5 | Aligned to the capline | From 820022e3f36f20578bbf0f1564c89b8ec0e98e39 Mon Sep 17 00:00:00 2001 From: HarryBlueJay <88053351+HarryBlueJay@users.noreply.github.com> Date: Fri, 20 Feb 2026 10:42:21 -0500 Subject: [PATCH 2/2] Add documentation for CameraMode.FollowTarget --- docs/objects/enums/CameraMode.md | 12 ++++++------ docs/objects/game/Camera.md | 18 ++++++++++++++---- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/objects/enums/CameraMode.md b/docs/objects/enums/CameraMode.md index e8c11efd..bd27f01c 100644 --- a/docs/objects/enums/CameraMode.md +++ b/docs/objects/enums/CameraMode.md @@ -6,9 +6,9 @@ icon: polytoria/Enum # CameraMode -| Name | Value | Description | -| ------------------------- | ----- | ----------------------------------------------- | -| `CameraMode.FollowPlayer` | 0 | Camera is controlled by the player `(default)` | -| `CameraMode.FollowTarget` | 1 | Same as `CameraMode.Scripted` | -| `CameraMode.Free` | 2 | Camera is able to be freely moved by the player | -| `CameraMode.Scripted` | 3 | Camera is able to be controlled by scripts | +| Name | Value | Description | +| ------------------------- | ----- | --------------------------------------------------- | +| `CameraMode.FollowPlayer` | 0 | Camera is controlled by the player `(default)` | +| `CameraMode.FollowTarget` | 1 | Camera's position follows the `Camera.FollowTarget` | +| `CameraMode.Free` | 2 | Camera is able to be freely moved by the player | +| `CameraMode.Scripted` | 3 | Camera is able to be controlled by scripts | diff --git a/docs/objects/game/Camera.md b/docs/objects/game/Camera.md index 0ee305d3..8a81e479 100644 --- a/docs/objects/game/Camera.md +++ b/docs/objects/game/Camera.md @@ -19,6 +19,16 @@ weight: 4 ## Properties +### FollowTarget:DynamicInstance { property } + +Determines the position of the camera when the camera is in `FollowTarget` mode. + +**Example** + +```lua +Camera.FollowTarget = game["Environment"]["Brick"] +``` + ### Distance:float { property } Determines the distance between the camera and the player when the camera is in `FollowPlayer` mode. @@ -41,7 +51,7 @@ Camera.FOV = 90 ### FastFlySpeed:float { property } -Determines the camera speed when the camera is in `FreeCam` mode while holding shift. +Determines the camera speed when the camera is in `Free` mode while holding shift. **Example** @@ -51,7 +61,7 @@ Camera.FastFlySpeed = 100 ### FlySpeed:float { property } -Determines the camera speed when the camera is in `FreeCam` mode. +Determines the camera speed when the camera is in `Free` mode. **Example** @@ -71,7 +81,7 @@ Camera.FollowLerp = true ### FreeLookSensitivity:float { property } -Determines the mouse sensitivity while in `FreeCam` mode. +Determines the mouse sensitivity while in `Free` mode. **Example** @@ -133,7 +143,7 @@ Camera.MinDistance = 5 ### Mode:CameraMode { property } -Determines or returns the camera's current mode `(Scripted, FollowPlayer, Freecam)`. +Determines or returns the camera's current mode `(Scripted, FollowPlayer, FollowTarget, Free)`. **Example**