# fsVfxIsInstancePlaying The **fsVfxIsInstancePlaying** function is used to check if a given (previously spawned) VFX instance is currently playing or not.   ##### Syntax ``` wasm bool fsVfxIsInstancePlaying( FsVFXId id ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |------------|---------------------------------------------------------------------------------------------------| | `id` | The ID of the VFX to check, as returned by either `fsVfxSpawnInWorld` or `fsVfxSpawnOnSimObject`. | {{< /table-wrapper >}}   ##### Return Values The function will return TRUE if the given instance exists and is currently playing, otherwise it will return FALSE.   ##### Example ``` wasm if (!fsVfxIsInstancePlaying(vfxId)) { fsVfxPlayInstance(vfxId); } ```   ##### Remarks N/A