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

x/remapper/src/object.ts>BaseGameplayObject

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

Properties

animation

The animation json on the object.

color: ColorType

The chroma color of the object.

readonly
halfJumpDur

A "jump" is the period when the object "jumps" in (indicated by spawning light on notes) to when it's deleted. Jump Duration is the time in beats that the object will be jumping for. This function will output half of this, so it will end when the note is supposed to be hit.

interactable: boolean

Whether this object is interactable.

readonly
isGameplayModded
readonly
isModded
readonly
jumpDist

A "jump" is the period when the object "jumps" in (indicated by spawning light on notes) to when it's deleted. Jump Distance is the Z distance from when the object starts it's jump to when it's deleted. This function will output the jump distance converted to noodle units.

life: number

The lifespan of the object.

lifeStart: number

The time of the start of the object's lifespan.

localRotation: Vec3

The rotation added to an object around it's anchor point.

NJS: number

The note jump speed of an object.

offset: number

The note offset of an object.

position: Vec2

The position added to the object.

rotation: Vec3

The rotation added to an object around the world origin.

readonly
track

The track class for this event. Please read the properties of this class to see how it works.

x: number

The lane of the object.

y: number

The vertical row of the object.