# How do you create a Fog of War effect?

**URL:** <https://forum.kirupa.com/t/how-do-you-create-a-fog-of-war-effect/319169>\
**Category:** programming\
**Created:** [February 10, 2011, 7:09pm UTC](https://forum.kirupa.com/t/how-do-you-create-a-fog-of-war-effect/319169 "2011-02-10T19:09:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![netnerd85](https://avatars.discourse-cdn.com/v4/letter/n/b3f665/32.png) [@netnerd85](https://forum.kirupa.com/u/netnerd85)\
**Post date:** [February 10, 2011, 7:09pm UTC](https://forum.kirupa.com/t/how-do-you-create-a-fog-of-war-effect/319169/1 "2011-02-10T19:09:04Z")

</div>

How do you create a Fog of War effect using ActionScript 3.0? The exact effect I would like is to have an overlay on a scene (or map) that is black but the opacity/alpha/transparency is 50%. The visible area around the player would be a half circle. How could you go about creating this effect?
