hu? you mean like  WorldObject* worldObject = (m_engineSlot ? m_engineSlot->components()->worldObject() : nullptr); ?