Fixture Fixture:GetSelectedFixture()

Returns an Fixture class/structure.

This function will return a Fixture class/structure for the currently selected channel/fixture in the Rig Data view.

It will return nil if there is an error. It is worth checking for this situation.


fixtureObject = Fixture:GetSelectedFixture()
if fixtureObject ~= nil then
    channelNum = fixtureObject.Channel

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.