Instance:FindFirstChildWhichIsA code sample lacking = operator

The second code sample documented on the Instance:FindFirstChildWhichIsA function page is lacking an = operator.


Issue lies on line 1 of the second code sample, where object:FindFirstChildWhichIsA("BasePart") is meant to be assigned to the variable part.

Image

Code sample

local part object:FindFirstChildWhichIsA("BasePart")

Result

image


Fix: local part = object:FindFirstChildWhichIsA("BasePart")

Thanks for the report. This issue has been resolved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.