Skip to content

CheckValidScene

Description

Checks if SceneInfo->activeCategory and SceneInfo->listPos point to a valid scene in the GameConfig.

Parameters

None.

Return Value

Returns whether the current scene is valid as a bool32.

Syntax

RSDK.CheckValidScene();
Stage::CheckValidScene();

Example

if (RSDK.CheckValidScene()) { /* do stuff */ }
if (Stage::CheckValidScene()) { /* do stuff */ }