> For the complete documentation index, see [llms.txt](https://bricksmotion.gitbook.io/bricksmotion-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bricksmotion.gitbook.io/bricksmotion-components/components/buttons/button-4.md).

# Button #4

**Unstyle the magnet area:** To get rid of the grey div (magnet area). Just reset all styles on <mark style="color:green;">`.btn4__magnet`</mark> except of the padding.

**Styling the button:** You can style the button as you like. Just select the class <mark style="color:green;">`.btn4`</mark>.

**Expanding the magnet area and adjusting magnetic value:**&#x20;

1. Select the builder elment <mark style="color:purple;">`BTN4 MAGNET`</mark> and the class <mark style="color:green;">`.btn4__magnet`</mark>. Go styling -> layout and adjust the padding to your needs.
2. Open the Bricksforge panel got to events and select BTN4 MOUSEMOVE. In the animation object (far right) open the code panel.
3. Adjust the highlighted values. If you double up the padding of <mark style="color:green;">`.btn4__magnet`</mark> (from 20px to 40px) you should double up these values, too. Feel free to play around with the values until it fits your needs.

   <figure><img src="https://bricksmotion.co/wp-content/uploads/SCR-20231027-oqwm-960x342.png" alt=""><figcaption></figcaption></figure>

**Edit the mouseleave animation:** Open the Bricksforge panel go to events and select <mark style="color:yellow;">`BTN4 MOUSELEAVE`</mark>. In the animation object (far right) you can see 'duration' and 'ease'. You can adjust these values to your needs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://bricksmotion.gitbook.io/bricksmotion-components/components/buttons/button-4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
