# UPBGE 0.3 Pinball Game Engine

**URL:** <https://blenderartists.org/t/upbge-0-3-pinball-game-engine/1388572>\
**Category:** Works in Progress and Game Demos\
**Created:** [June 30, 2022, 4:07am UTC](https://blenderartists.org/t/upbge-0-3-pinball-game-engine/1388572 "2022-06-30T04:07:00Z")\
**Posts on this page:** 1\
**Showing post:** 64

<div class="post-metadata">

**Author:** ![musikai](https://blenderartists.org/user_avatar/blenderartists.org/musikai/32/1395660_2.png) [@musikai](https://blenderartists.org/u/musikai)\
**Post date:** [August 23, 2023, 7:29pm UTC](https://blenderartists.org/t/upbge-0-3-pinball-game-engine/1388572/64 "2023-08-23T19:29:52Z")

</div>

Great congrats for steadily improving your project!

> [@Segovia](#):
>
> Notes
> 
> 1. In ‘Game Play Camera Mode’ under ‘Viewport Shading’ check that the ‘Scene Lights’ check box has been checked : else the lights will not function.

Was curious if there wasn’t a way to set this in game.

> [@How to set "Scene Lights" and "Scene World" using Python?](https://blenderartists.org/t/how-to-set-scene-lights-and-scene-world-using-python/1316582):
>
> Hi, I’m trying to check this options using Python : [image] I tried this, but it’s not working : for s in bpy.data.screens: print(s) s.shading.use\_scene\_lights\_render = True s.shading.use\_scene\_world\_render = True Could you help me please ?

One time “always” sensor:

```auto
import bpy
for s in bpy.data.screens:
    for a in s.areas:
        if a.type=='VIEW_3D':
            a.spaces[0].shading.use_scene_lights_render = True
            a.spaces[0].shading.use_scene_world_render = True

```

---

_[View the full topic](https://blenderartists.org/t/upbge-0-3-pinball-game-engine/1388572)._
