# CHANGED_REGION_START

*LSL constant*

```lsl
integer CHANGED_REGION_START = 0x400;
```

Constant groups: [ChangeType](/constants/groups/ChangeType/)

The region containing the object has just come online.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
default
{
    changed(integer change)
    {
    //  note that it's & and not &&... it's bitwise!
        if (change & CHANGED_REGION_START)
        {
            key owner = llGetOwner();
            string region = llGetRegionName();
            llInstantMessage(owner, "Region '" + region + "' has restarted.");
        }
    }
}
```

</details>

## Notes

When a region is (re)started all [HTTP server](/events/http_request/) URLs are automatically released and invalidated.

## History

- Suggestion: [SVC-1086](https://jira.secondlife.com/browse/SVC-1086) - LSL http_server
- Suggestion: [SVC-3773](https://jira.secondlife.com/browse/SVC-3773) - Change CHANGED_REGION_RESTART to `CHANGED_REGION_START`
- Implementation: SVN:1836 r112899 Trunk ~ Client [1.23](https://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release/1.23) ~ Server [1.27](https://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/1.27)

## See also

### Functions

- [llRequestSimulatorData](/functions/llRequestSimulatorData/)

### Events

- [changed](/events/changed/)

---

*Source: [CHANGED REGION START](https://wiki.secondlife.com/wiki/CHANGED_REGION_START) on the Second Life Wiki. Content from the Second Life Wiki article CHANGED REGION START (revision 1214097, 2023-06-17), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/CHANGED_REGION_START/
