> For the complete documentation index, see [llms.txt](https://polkadot.novabloq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkadot.novabloq.com/f.a.q..md).

# F.A.Q.

### What are "actions"?

Think of it as a function that can run with some parameters and it will return a response and trigger events.\
Bubble has its own **integrated actions**, such as: *run an animation, change data in the database* etc.&#x20;

### What is "plugin element"?

When we are adding the **plugin element** on the page, its actions becomes available to use, extending the default integrated actions. \
This is why we need to add the plugin element on the page, to add all its actions to our Bubble app\
Of course, the plugin can have some actions without the plugin element, such as API calls, they become available automatically after installing the plugin in the app.

### What are "states"?

States are Bubble form of variables. It can contain any kind of data that can dynamically change. \
For example, when running a plugin action, its response can be found the plugin element states.

Lets take the *Utils* element as an example,  if we will dynamically select it in a text field, we can see all states available for this element:

![](/files/2VHdDCv02Vfrbf6L6oFi)

### What are "events"?

Events as the name says, is when something happened in our app. In same way as actions, Bubble has its own integrated events, such as: *page is loaded, input value changed etc.*\
\
When we are adding the plugin element on the page, all its event become available to us, so we use them to know when a plugin action was executed and let the user know about its response.\
\
Lets see the events from the Polkadot API element:

![](/files/FySieDMEG2n5CUp74XYh)

{% hint style="info" %}
Note! Some states are updated only after a certain event was triggered. \
For example: The state *Last Block Nr* will be updated only after the event New Block was triggered.
{% endhint %}
