Skip to content

Border

Add customizable borders around the screen to change the resolution and enhance ambiance.

Syntax

  • border %up% %right% %down% %left% [%color%] [%opacity%] [in %fade_time% [%easing%]]
  • border <out> %fade_time% [%easing%]
  • border clear

Parameters

  • up (int, required) Top border height in pixels.
  • right (int, required) Right border width in pixels.
  • down (int, required) Bottom border height in pixels.
  • left (int, required) Left border width in pixels.
  • color (string, optional) Hexadecimal color code (without #). Default is black or transparent.
  • opacity (float, optional) Value from 0 (fully transparent) to 1 (fully opaque). Default is fully opaque.
  • fade_time (float, optional) Fade in value
  • easing (string, optional) Easing for the fade.

Examples

  • border 10 0 10 0 4J5162 0.5
  • border 10 0 10 0 000000 1.0 in 4 ease_out

Aspect Ratio Presets

  • Cinematic 2.39:1 → border 56 0 56 0
  • Widescreen 1.85:1 → border 21 0 21 0
  • Classic 4:3 → border 75 0 75 0