A bot in StractiAI is a Task. A Task contains a timeline of Actions that are executed in sequence. Let's build a simple bot that finds an object and clicks it.
Step 1: Create a New Bot
From the main page, click the "Add Client +" button and select Create New Bot.
This takes you to the Bot Editor. In the left panel, click "Create Bot", give it a name (e.g., "My First Miner"), and click on it to open its timeline.
Step 2: The Target Action
Every bot must begin with a Target action. This is the primary object the bot will look for to start its sequence.
- Make sure your game or application is running and visible on the client machine.
- In the Bot Editor, click the "Target" tool from the toolbelt on the left.
- On the live stream image, click and drag a box around the object you want the bot to find.
- A
[Save Frame] button will appear. Click it to create the first action on your timeline.
Step 3: The Click Action
Now, let's tell the bot what to do after it finds the target. Click the "Click" tool from the toolbelt. This action is automatically added to the timeline and tells the bot to left-click the center of the object it just found.
Step 4: Save and Run Your Bot
Click the main "Save" button for the bot. To run it, ensure your client is running and press the "Start" button in the control panel.