# Sandbox.UI.Panel.InvokeOnce

```csharp
void InvokeOnce(string name, float seconds, System.Action action)
```

Invoke a method after a delay. If the panel is deleted before this delay the method will not be called. If the invoke is called
while the old one is waiting, the old one will be cancelled.

### Parameters

- `name` (`string`)
- `seconds` (`float`)
- `action` (`System.Action`)

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
