Skip to main content
Home

Built and signed on GitHub Actions

TypeScript definition for project.json of .sb3

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a year ago (0.1.7)
interface Sprite
extends Target

Sprite type, representing the individual characters in the project

Properties

Name of the sprite

isStage: false

Indicates that this target is not a stage

optional
visible: boolean

Visibility of the sprite

optional
x: number

X position of the sprite

optional
y: number

Y position of the sprite

optional
size: number

Size of the sprite

Direction the sprite is facing

Whether the sprite is draggable

optional
rotationStyle:
"all around"
| "don't rotate"
| "left-right"

Rotation style of the sprite

Layer order of the sprite

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";
or

Import directly with a jsr specifier

import { type Sprite } from "jsr:@pnsk-lab/sb3-types";

Add Package

pnpm i jsr:@pnsk-lab/sb3-types
or (using pnpm 10.8 or older)
pnpm dlx jsr add @pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";

Add Package

yarn add jsr:@pnsk-lab/sb3-types
or (using Yarn 4.8 or older)
yarn dlx jsr add @pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";

Add Package

vlt install jsr:@pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";

Add Package

npx jsr add @pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";

Add Package

bunx jsr add @pnsk-lab/sb3-types

Import symbol

import { type Sprite } from "@pnsk-lab/sb3-types";