# Sandbox.Mapping.Button.OnTurnedOn

```csharp
Doo OnTurnedOn { get; set; }
```

Called when the button turns on. Receives the GameObject that activated it.

Declared in [Sandbox.Mapping.Button](/api/Sandbox.Mapping.Button).
Assembly: `Sandbox.Engine`.
