# Get started

## Download example

Download rblx file from DevForum

{% embed url="<https://devforum.roblox.com/t/open-source-plugincomponent-plug-in-interface-creation-kit/1652662>" %}

## Start

Open LS Example

![](/files/5fTIbmNn2IGIBUTMk3xs)

## Let's look at a simple example

```lua
local PluginComponents= require(game.ReplicatedStorage.PluginComponents.PluginComponents);



local Container = PluginComponents.Component.Container.New();
Container.SetParent(script.Parent)
.SetHeight(0, 600)
.SetWidth(0,360)



local btnExample = PluginComponents.Component.Btn.New()
.SetParent(Container)
.SetText("Example")
.SetBackgroundColor(PluginComponents.Color.Blue)
.MouseButton1Click:Connect(function()
    print("Click!")
end)

```

#### Result:

![](/files/rD7nr9DhrtUZarb4aZCL)

### How does it work?

We create a simple container, using a function:

`PluginComponents.Component.Container.New()`

Next, use a point to change the properties of the created object

`Container.SetParent(script.Parent)`

`.SetHeight(0, 600)`

`.SetWidth(0,360)`

In doing so, obtain an autocomplete after each point:

![](/files/FEoJM5RyrMYwA2Z2wili)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://destplay.gitbook.io/plugin-components/get-started/get-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
