Forest Logo
search
package_2

find-up

By @csqrl

Roblox

Mirrored

FindUp

GitHub release (latest by date) NPM release (latest) Wally release (latest)

Find an Instance by walking up ancestors.

local humanoid = FindUp(script, "Humanoid", {
    className = "Humanoid",
})

local roact = FindUp(script, "Roact", {
    className = "ModuleScript",
})

Installation

Wally

Add find-up to your wally.toml and run wally install

# wally.toml
[dependencies]
FindUp = "csqrl/find-up@1.1.0"
$ wally install

Roblox-TS

Install the @rbxts/find-up package using npm or yarn.

$ npm i @rbxts/find-up
$ yarn add @rbxts/find-up
$ pnpm i @rbxts/find-up

Documentation

Documentation can be found at https://csqrl.github.io/find-up.

Package Details

Install command (Click to copy)


Version

1.1.0

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.