Re: Check if item is selected.

by Puybaret » Mon Aug 17, 2020 2:57 pm

There’s no easier way, because there’s no [font=courier new]getParent[/font] method in [font=courier new]HomePieceOfFurniture[/font] class. You’ll have to find the group of each selected item when it doesn’t belong to the list returned by [font=courier new]home.getFurniture()[/font].