set border color
Problem it solves
The line dividing your player screens is hard to see or doesn't match the colors of your game.
What this block does
Sets the outline color for borders drawn around split-screen camera regions. Set to 0 (transparent) to remove borders.
The block
Block ID: splitscreensetBorderColor
set border color $color
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| color | number | The color index (0-15) to draw borders around split-screen regions. |
Example
splitScreen.setBorderColor(3)
Add the extension
Add github:riknoll/arcade-split-screen to your project, or open: Import arcade-split-screen.