# Active Tab Block

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2Ft0ri0GdkdEpO31OW8qJH%2FActive%20Tab.png?alt=media&#x26;token=8fc36989-6b3b-45d2-872f-1962c61fb46a" alt=""><figcaption></figcaption></figure>

Set your current tab as an **active tab**. The active tab here means a tab where the block requires a tab like a take screenshot block will execute.

For instance, when you run a JS code on a current website or make a screenshot, you can use the active tab before connecting others (like the *take a screenshot* or *javascript code* block).

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2FXswFoiEKZFZysf3eqqU1%2FActive%20Tab.jpg?alt=media&#x26;token=b0b6ea67-f7cb-4776-a6e1-dea8c3cec302" alt=""><figcaption></figcaption></figure>
