Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 915 Bytes

find-first-child-of-class.md

File metadata and controls

60 lines (42 loc) · 915 Bytes
description layout
Runs the connected block only if the given object has a child with the given class, does not support super classes.
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

Find First Child Of Class

Description

Runs the connected block only if the given object has a child with the given class, does not support super classes.

Available to

  • Scripts
  • LocalScripts
  • Yields

Inputs

Parent (Object)

You give the path to an object.

  • Can use Variable
workspace

ChildClass (String)

You give the block the ClassName of a object that you are looking for.

  • Can use Variable
BasePart

Outputs

Result (Object)

You give the block the variable you want the found object to be saved to.

Part