Get Component by Class

Get Component by Class

Windows
MacOS
Linux

Searches components array and returns first encountered component of the specified class

Target is Actor

Get Component by Class
Target
Component Class
Select Class
Return Value

Inputs

Target
Actor Object Reference
Component Class
Actor Component Class Reference

Outputs

Return Value
Actor Component Object Reference

Searches components array and returns first encountered component of the specified class

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss