> 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.
