camera
Problem it solves
You need to select which player camera (Camera 1 through Camera 4) to use in a split-screen block.
What this block does
A helper dropdown block in MakeCode for choosing a camera number.
The block
Block ID: splitscreen_camerashadow
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| camera | Camera | Camera.Camera1 | The camera index to select |
Returns
Camera — The selected camera enum value.
Example
let cam = splitScreen.Camera.Camera1
Add the extension
Add github:riknoll/arcade-split-screen to your project, or open: Import arcade-split-screen.