private void SetAutotiling(int groupA, int groupB, bool val) { Tileset tileset = (Tileset)target; tileset.SetGroupAutotiling(groupA, groupB, val); }