Set PC Visible
Category: Character/Party
An event content that toggles the visibility of the protagonist (Player Character sprite). Use it in scenes where you want to hide the protagonist from the screen: "invisibility staging," "temporarily hiding the protagonist during a cutscene," "warp-in / warp-out staging," and so on.
Appearance settings are preserved
This event content only toggles display ON/OFF. The protagonist's PC sprite itself is preserved, so re-showing restores the original appearance. If you want to replace the appearance as well, use Change PC Sprite.
Always hidden during 3D Dungeon Mode
In 3D Dungeon Mode, the protagonist is not shown on the 2D screen even if you set this event content to "Visible ON" (because the protagonist is rendered in the 3D space via a first-person camera). The setting itself is still saved to save data, so it is reflected when you return to 2D mode.
Property List
| Item | Input format | Description |
|---|---|---|
| PC Visible | Checkbox | ON = Show / OFF = Hide |
This event content has only one property and is extremely simple.
Property Details
PC Visible
A checkbox that toggles whether the protagonist is shown on screen.
- ON (checked): Protagonist visible (normal state)
- OFF (unchecked): Protagonist hidden (not visible on screen)
- Default: ON
Even when hidden, the protagonist's position, PC sprite setting, facing, etc. are all preserved. Setting this event content back to ON re-displays the same appearance at the original position.
Runtime Behavior
Processing flow
- Update save data: The specified visibility state is saved to save data
- Immediate reflection: Updates the visibility flag on the protagonist's sprite node
- In 2D mode → Reflects the checkbox value as-is
- In 3D Dungeon Mode → Forced to hidden (regardless of the setting)
Behavior during 3D Dungeon Mode
In 3D Dungeon Mode, the protagonist's display is always forced OFF. This is because:
- The protagonist is drawn via a first-person Camera3D view in the 3D space
- Overlaying the protagonist in 2D would produce a double display
For these design reasons. Even when this event content is set to ON, the setting value (pc_visible=true) is still saved, so it is correctly reflected when you return to 2D mode.
Saving to save data
The visibility state set by this event content is saved to save data, so the state is maintained across save → load. This produces behavior like "stays invisible across save → load during invisibility staging."
Toggling while walking or in dialogue
Even if the protagonist is walking or in dialogue, this event content can safely toggle visibility. Even with visibility OFF, the protagonist's internal state (position, facing, walking animation) is preserved, so re-showing restores the original state without inconsistency.
Typical Flows
Flow 1: Invisibility staging (item effect)
Staging the use of an invisibility cloak item:
- Show Text: "Used the invisibility cloak..."
- Play Sound: Invisibility sound
- Set PC Visible (this event content)
- Visible: OFF
- (Event of passing between enemies while invisible)
- Play Sound: Invisibility-release sound
- Set PC Visible (this event content)
- Visible: ON
Flow 2: Cutscene staging
Temporarily hide the protagonist during a movie-style scene:
- Set PC Visible (this event content)
- Visible: OFF
- Show Image: Cutscene illustration
- Show Text: Narration
- Hide Image: Dismiss the cutscene illustration
- Set PC Visible (this event content)
- Visible: ON
Flow 3: Warp-in staging
A scene where the character appears via warp:
- Set PC Visible (this event content)
- Visible: OFF
- Change Map: Move to the destination map
- Play Sound: Warp-in sound
- Screen Effect: Light effect for warp
- Wait: 1 second
- Set PC Visible (this event content)
- Visible: ON
Flow 4: Stage event (audience viewpoint)
The protagonist is behind the stage, with NPCs on stage shown:
- Set PC Visible (this event content)
- Visible: OFF
- (Dialogue event between NPCs on stage)
- Set PC Visible (this event content)
- Visible: ON
Typical Combinations
- Play Sound: Sound effects for invisibility, warp, teleport, etc.
- Fade Out / Fade In: Dim the screen to make the protagonist disappear / appear naturally
- Show Image: Hide the protagonist to display a cutscene illustration
- Wait: Insert time at the moment of disappearance / appearance to emphasize staging
- Change Map: Combine with warp-in/out for scene transitions
- Assign Variable: Save the current visibility state to a variable for branching
Related Events
- Change PC Sprite: An event content that switches the protagonist's appearance (PC sprite). You can also hide by specifying an empty path, but you need to specify a path to restore. If you only want to toggle visibility ON/OFF, this event content is simpler
- Change Function: Use this if you want to disable the protagonist's input itself. Use for "protagonist is on screen but cannot be controlled" staging
- Change Object: Toggle visibility for NPCs / enemy objects on the map. Use this to toggle visibility of anyone other than the protagonist
Related Pages
- Change PC Sprite — When switching the appearance itself
- 3D Dungeon Mode — Protagonist display specification during 3D mode
Notes and Constraints
Not shown on 2D screen during 3D Dungeon Mode
In 3D Dungeon Mode, even if this event content is set to Visible ON, the protagonist is not visible on the 2D screen. This is by design, because the protagonist is rendered from the camera viewpoint in the 3D space. When returning to 2D mode, the value set by this event content is reflected correctly.
Collision remains while hidden
This event content toggles drawing only, so collision checks / event trigger conditions on the map operate normally even while hidden. If you want behavior like "passing through obstacles while invisible," you need to control it separately with map events or variables.
Input is not restricted
This event content does not restrict the protagonist's input. Even while hidden, the protagonist still moves if the player presses direction keys. You can use this as "controlling the invisible protagonist" staging, but to also stop input, combine with Change Function.
