Display the children of an object in the autocomplete with custom types like WaitForChild

The WaitForChild function has a really nice feature in the autocomplete of showing the instances that are currently its children, like the picture below:

I was wondering if there was a way to create a custom type that achieves the same thing for a given specific object, so I can use it across other functions.

2 Likes