# Class: sceneobject

### LuxModule: scenemanagement

Sceneobjects are objects in a scene.

## Methods:

### Method overview:

- new
- sleepmode
- sleepmode.always
- sleepmode.enabled
- sleepmode.interval
- sleepmode.never

new (scene)
  returns: (sceneobject)
  return a new sceneobject
sleepmode
  A table with constants. Each object in a scene can have a socalled thinkfunction that is called when a sceneobject is processed. Depending on the sleepmode, the function is called never, always, or if the physical simulated ODE body is enabled.
sleepmode.always
  thinkfunction called each frame
sleepmode.enabled
  thinkfunction is called if the simulated body is enabled
sleepmode.interval
  all the object think functions are not done within a single frame, but within intervals.
sleepmode.never
  thinkfunction is never called