With the picture it makes more sense From the first sight I think it is possible to do with renderingGroupId (probably in this case you’ll need to add an invisible plane to the square). See this thread with different examples -
renderingGroupId