Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/event.ts>LightEvent

A framework for Beat Saber map scripting.
Go to Latest
class LightEvent
import { LightEvent } from "https://deno.land/x/remapper@3.0.0/src/event.ts";

Properties

addedBeat: number

The beat this event happens, added to the light event box's time.

brightness: number

The brightness of this lighting event.

color: LIGHTCOL

The color of this lighting event.

flickerFrequency: number

The frequency of this light event's flickering.

json: Json

The Json of this light event.

transition: LIGHTTRANS

The transition type between this light event and the previous.

Methods

import(json: Json)

Create a light event using JSON.

Push this light event to a light event box group.