> For the complete documentation index, see [llms.txt](https://julhiecio.gitbook.io/ju-tps-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://julhiecio.gitbook.io/ju-tps-documentation/tools-utils-and-tutorials/slow-motion.md).

# Slow Motion

This script can be placed on any empty object in the scene, it will control the slow motion system

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FAYi0NBJ0kD3dqoXXJG37%2Fimage.png?alt=media&amp;token=8f981d7f-84ad-48c6-8eb4-2af7905c9ec6" alt=""><figcaption></figcaption></figure></div>

With this script added to some GameObject in the Scene, you can use this line of code anywhere to make the Slow Motion effect

```csharp
//Timescale will be set to 0.2f and will increase to 1 for 2 seconds
Slowmotion.DoSlowMotion(timescale:0.2f, duration: 2);
```
