# QueuePlayerLoopUpdate()

> Normally, a player loop update will occur in the editor when the Scene has been modified. This method allows you to queue a player loop update regardless of whether the Scene has been modified.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void QueuePlayerLoopUpdate()
```

### Remarks

When the Scene is modified it forces a repaint of any window that has [autoRepaintOnSceneChange](/engine/6000.7/script-reference/unityeditor/editorwindow/autorepaintonscenechange.md) set to true. Additionally, the player loop will run and consequently update any scripts that are marked with [ExecuteInEditMode](/engine/6000.7/script-reference/unityengine/executeineditmode.md) or MonoBehaviours that have [runInEditMode](/engine/6000.7/script-reference/unityengine/monobehaviour/runineditmode.md) set to true.

Sometimes you may want more consistent updates even when the Scene has not been modified, so you can call this method to queue an update.

Additional Resources: [ExecuteInEditMode](/engine/6000.7/script-reference/unityengine/executeineditmode.md), [MonoBehaviour.runInEditMode](/engine/6000.7/script-reference/unityengine/monobehaviour/runineditmode.md), [EditorWindow.autoRepaintOnSceneChange](/engine/6000.7/script-reference/unityeditor/editorwindow/autorepaintonscenechange.md).
