@rbxts/attribute
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@rbxts/attribute

A small attribute manager for Roblox TS.

import { Attributes } from "@rbxts/attribute"

const MyPart = new Instance("Part")

const AttributeManager = new Attributes(MyPart, {
    Speed: 52
})

AttributeManager.GetAttributeChangedSignal("Speed").Connect((Speed: number) => {
    print(`My new speed is ${Speed}!`)
})

Readme

Keywords

none

Package Sidebar

Install

npm i @rbxts/attribute

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.54 kB

Total Files

8

Last publish

Collaborators

  • typechecked