# 3 - How Change Scene

To change the scene you need to follow the chapter in [**https://bhs-personal-organization.gitbook.io/fsmakerdoc/tutorials/1-my-first-fps**](https://bhs-personal-organization.gitbook.io/fsmakerdoc/tutorials/1-my-first-fps)

In this case we will see how to change scene when colliding with an object.

for this we will need to create an event as taught in past chapters but with the difference that the type must be ontriggerenter.

<figure><img src="https://888365274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9iJYj8Lpl2WboqbwgEKe%2Fuploads%2FkYNyFrNmF0Jy3LJLa585%2Fimage.png?alt=media&#x26;token=173a8d8e-dfc4-4949-888c-e372aa7e65e9" alt=""><figcaption></figcaption></figure>

when you have the ontrigger enter event it will ask which object to collide with which tag which I will set Player

<figure><img src="https://888365274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9iJYj8Lpl2WboqbwgEKe%2Fuploads%2F6EiMmPUAR1ewyojYk84W%2Fimage.png?alt=media&#x26;token=6b41157d-3f37-47c0-b58e-15ce793c745c" alt=""><figcaption></figcaption></figure>

And we add the component FSChangeScene

<figure><img src="https://888365274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9iJYj8Lpl2WboqbwgEKe%2Fuploads%2FhIzKqkpJ32sAnVFNojY9%2Fimage.png?alt=media&#x26;token=b534f6bf-3405-45dd-965b-1a25abb2305e" alt=""><figcaption></figcaption></figure>

and lastly enter the name of the scene you wish to change the scene to

<figure><img src="https://888365274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9iJYj8Lpl2WboqbwgEKe%2Fuploads%2FSA3cvvaCfWAJeOZmZ61N%2Fimage.png?alt=media&#x26;token=deb465ee-179a-4589-843f-4e48694c3d56" alt=""><figcaption></figcaption></figure>

Remember that this FSMachine must be on the object to be collided.

<figure><img src="https://888365274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9iJYj8Lpl2WboqbwgEKe%2Fuploads%2FoFat1KifdshyQiqWQ61e%2Fimage.png?alt=media&#x26;token=34d47be2-b414-4f55-8e60-434edafa949e" alt=""><figcaption></figcaption></figure>
