Set the Anchor property.
Whether extruded geometries are lit relative to the map or viewport.
as Anchor
Set the Anchor property
value of anchor as Expression