#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Session](https://docs.dev.board.fun/unity/api/Board.Session.html "Board\.Session"). [BoardSession](https://docs.dev.board.fun/unity/api/BoardSession.html "Board\.Session\.BoardSession")

## BoardSession.ResetPlayers() Method

Resets the session players to the initial state.

```
public static bool ResetPlayers();
```

#### Returns

[System.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean "System\.Boolean")

`true` if the reset was successful; otherwise, `false`.

### Remarks

This method clears all current players and re-adds only the active profile as the first player,
returning the session to its initialized state. Any resulting changes to [players](https://docs.dev.board.fun/unity/api/BoardSession.players.html "Board\.Session\.BoardSession\.players")
will trigger the [playersChanged](https://docs.dev.board.fun/unity/api/BoardSession.playersChanged.html "Board\.Session\.BoardSession\.playersChanged") event.
