Get 1Click Maker

Quickstart โ€‹

Your first working button: from an empty prim to a click that does something in-world. About ten minutes, no scripting.

Before you start

Read the Important Recommendations. The first one, always build with the object on the ground, avoids the most common problem.

What you need โ€‹

  • The 1Click Maker folder in your inventory (from the Marketplace).
  • A place where you can rez objects.
  • Two scripts from that folder: *BUILD and *FUNCTIONS.

Part 1: the HUD in Second Life โ€‹

  1. Rez a cube on the ground. This will be your HUD. Name it, for example, My First HUD.

  2. Rez a second cube, make it smaller, and name it button_hello. Move it in front of the first one.

  3. Link them: select the button first, then Shift-click the big cube (so the big cube is the root), and press Ctrl+L.

  4. Open the Content tab of the linked object (Edit โ†’ Content) and drag *BUILD and *FUNCTIONS from your inventory into it.

    Both scripts inside the Content tab of the HUD.
    Both scripts inside the Content tab of the HUD.
  5. Read the local chat. The HUD says Wait..., then prints a link. That link is your creation panel. Click it.

The link is personal

It opens your project without a password. Keep it to yourself. If you lose it, hold your mouse button on the HUD for one second to get it back (Reopen a Project).

Part 2: the panel โ€‹

  1. Scan the buttons. In the left column, click the green Scan button. The panel asks the HUD for its linked prims; button_hello appears in the list.

    The panel right after opening the link, before the first scan.
    The panel right after opening the link, before the first scan.
  2. Click button_hello. A function with the same name is created in the center of the screen. Every button is a function: click the button, run the function.

  3. Add an action. Click the pencil on the function, then pick Message from the action grid. Choose Owner as the message type, type Hello from my HUD!, and press Save.

  4. Press Build (top right). The panel saves and sends the project to the HUD. The HUD says READY! in chat.

  5. Click button_hello in-world. You get Hello from my HUD! in chat. That is your first working button.

Part 3: make it do something visible โ€‹

Let's change the color of the HUD itself when the button is clicked.

  1. Open button_hello again (pencil icon) and add a Color action.

  2. In Target, choose $THIS (button_hello). $THIS means "the button that was clicked". You could also pick the root prim from the list.

  3. Tick All in Faces, enter <1.000, 0.000, 0.000> (red) in Color, and Save.

  4. Build, then click the button in-world. It turns red.

You just used the three concepts that make up every 1Click project: a button runs a function, a function is a list of actions.

The loop you will repeat โ€‹

Change something in the panel โ†’ Ctrl+S โ†’ Build โ†’ test in-world.

Autosave runs in the background, but Build is what sends changes to Second Life. Get used to pressing it often.

What to learn next โ€‹

Buttons and Functions How buttons, functions and helper functions relate.

Targets Control clothing and other objects from the HUD.

Assets Drop textures and sounds into the HUD and use them with one click.

Actions List Everything a button can do, with every field explained.

Texture Change HUD The classic clothing HUD, step by step.

The Scripts Which add-on you need for which feature.