# Animation.right(number|string value)

Sets the right value

## Support

App capability | Android | iOS | PC | Harmony | Preview
---|---|---|---|---|---
Gadget | **✓** | **✓** | **✓** | V7.35.0+ | Preview
Web app | **X** | **X** | **X** | **X** | /

## Input

Name | Data type | Required | Default value | Description
---|---|---|---|---
value | number | string | Yes | / | Length value. If a number is input, px is used by default; other length values in custom units are also allowed

## Output

Return value:  

`Animation` instance

## Sample code

```js
const animation = tt.createAnimation();

animation.right(20).step();
```

