# callback\_ChangeRoom()

After a successful room change, the callback function **callback\_ChangeRoom()** is called.&#x20;

Under Scripts/Rocket Networking/Callback Functions , you can edit this to do whatever you want…

### Example Implementation of callback

<figure><img src="https://1224219250-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYO9I4EKmgDF783aI7J4%2Fuploads%2FjI9aLU4739kOs47OGnWQ%2Fimage.png?alt=media&#x26;token=5850e3a3-e074-4e5c-9806-5873587de37e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1224219250-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYO9I4EKmgDF783aI7J4%2Fuploads%2FMbG8Q3wBRXRD27xQQMtk%2Fimage.png?alt=media&#x26;token=7227e097-f3d5-48f1-b431-aed46de3b854" alt=""><figcaption></figcaption></figure>

* Here I’ve just done a show\_message so the user is shown a dialog box with that message&#x20;
* You can use this as confirmation that you have indeed changed rooms
