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

3.2.0 • Public • Published

@rbxts/zone-plus

Typings for ForeverHD's ZonePlus v3 module

Installation

npm i @rbxts/zone-plus

Example Usage

import { Zone } from "@rbxts/zone-plus";
import { CollectionService } from "@rbxts/services";

for (const zonePart of CollectionService.GetTagged("Zone")) {
	if (!zonePart.IsA("BasePart")) {
		continue;
	}

	const zone = new Zone(zonePart);

	zone.playerEntered.Connect((player) => {
		print(`${player.Name} entered the zone!`);
	});

	zone.playerExited.Connect((player) => {
		print(`${player.Name} exited the zone!`);
	});	
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.2.0
    36
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.2.0
    36
  • 2.2.3
    0
  • 2.0.0
    1

Package Sidebar

Install

npm i @rbxts/zone-plus

Weekly Downloads

37

Version

3.2.0

License

ISC

Unpacked Size

92.1 kB

Total Files

21

Last publish

Collaborators

  • scyfren