Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Polytoria LuaNew to Visual Studio Code? Get it now.
Polytoria Lua

Polytoria Lua

Pawz

|
420 installs
| (0) | Free
Lua API definitions for Polytoria
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Features

Most basic features work. The definition file can’t read your Polytoria workspace, so instances accessed via direct indexing must be cast manually.

Example

local baseplate = game["Environment"]["Baseplate"]
---@cast baseplate Part
  • Class-Aware Constructors
  • Typed Query Functions
local part = game["Environment"]:FindChildByClass("Part")
-- will be of type Part?
  • Autocomplete

Requirements

Make sure you download Lua by sumneko

Known Issues

  • The definition file does not currently distinguish between integers and floats. All numeric values are typed as the native number type.
  • No type for AnimationInfo that is returned from MeshPart:GetAnimationInfo()

Release Notes

See: changelog

Disclaimer

This project is not affiliated with, endorsed by, or officially supported by Polytoria. It is a community-made project created to improve the development experience and is provided as-is.

This is my first ever extension so it might not be top-tier quality wise :p

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft