# Set Float

### Description

Send float values to the Animator to affect transitions.

Use SetFloat to send float values to the Animator in order to activate transitions. In the Animator, define what values affect how certain animations transition. This is useful in various situations, especially in animation cycles such as movement animations where you might require the character to walk or run depending on the button pressure applied.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Tasks/Animator/Set Float</mark>.

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FVkwC10eg9WXHGAtVxyWf%2FAnim4.png?alt=media&#x26;token=b9b9879c-ab99-4ab9-84a0-ffdea6589114" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                                  |
| ----------------- | -------------------------------------------- |
| Node Name         | Name of node                                 |
| Ignore About Self | Whether node ignores abort self or not       |
| Parameter Name    | Parameter name/ID number                     |
| Value             | Parameter value (float value/Blackboard key) |

{% hint style="info" %}
You can identify the parameter by name or by ID number, but the name or ID number must be the same as the parameter you want to change in the Animator.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://renownedgames.gitbook.io/ai-tree/nodes/tasks/animator/set-float.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
