roblox-tsr
roblox-ts4y ago
1 reply
PoppingPopper

How do I retrieve a component?

The docs show an example but what is Dependency? It's not imported. https://fireboltofdeath.dev/docs/flamework/additional-modules/components/scripting-api#retrieving-a-component
Flamework exposes a Components singleton which can be used on both server and client. Inside, there are several methods that allow you to interface with Flamework's components. You can grab a reference to this singleton the same way as you do any others, as documented.
Was this page helpful?