# 3d widget component shadow problem

**URL:** <https://forums.unrealengine.com/t/3d-widget-component-shadow-problem/1414009>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 23, 2023, 6:45am UTC](https://forums.unrealengine.com/t/3d-widget-component-shadow-problem/1414009 "2023-11-23T06:45:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unrealnull](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unrealnull](https://forums.unrealengine.com/u/unrealnull)\
**Post date:** [November 23, 2023, 6:45am UTC](https://forums.unrealengine.com/t/3d-widget-component-shadow-problem/1414009/1 "2023-11-23T06:45:03Z")

</div>

so,here is the thing.I wanna use 3d widget component to create a dark scene ,and i try to use spot light to make the player vision focus on the light area.And i found that 3d widget component does’t cast shadow by spotlight or any other type except directional light.Why?  
I also try to put some mesh behind the 3d widget component ,it does’t work as i expected.what should i do can make 3d widget cast shadow by other light types.  
[here is the same question i found by google](https://forums.unrealengine.com/t/can-widget-components-cast-shadow-from-point-and-spotlights/373569)
