Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 668 Bytes

1.GettingStarted.md

File metadata and controls

24 lines (17 loc) · 668 Bytes

Getting Started

  1. Make a ScreenGui in StarterGui
  2. Add a test local script inside.

Creating Instances

You can use Quark.New to create a new Instance. It takes a string (ClassName). You can then call it again with a table, to set properties.

-- Require the Quark module and the `New` function
local Quark = require(ReplicatedStorage.Quark)
local New = Quark.New

New "Frame" {
    Parent = script.Parent, -- Set properties inside
    Size = UDim2.fromOffset(100, 100),
    BackgroundColor3 = Color3.new(1,0,0)
}

There's way more stuff you can do with this. But for more concise info on the New object, look at

Chapter 2: New