# Blending sort for scenes, behaviors docs, controlling sound source playing, tooltip control

**URL:** https://forum.castle-engine.io/t/blending-sort-for-scenes-behaviors-docs-controlling-sound-source-playing-tooltip-control/706
**Category:** News
**Created:** [December 31, 2022, 4:36am UTC](https://forum.castle-engine.io/t/blending-sort-for-scenes-behaviors-docs-controlling-sound-source-playing-tooltip-control/706 "2022-12-31T04:36:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [December 31, 2022, 4:36am UTC](https://forum.castle-engine.io/t/blending-sort-for-scenes-behaviors-docs-controlling-sound-source-playing-tooltip-control/706/1 "2022-12-31T04:36:03Z")

</div>

| [![blending_sort](https://forum.castle-engine.io/uploads/default/original/2X/1/14df124914260392ce075f2b99284744b04cffae.png)](https://i0.wp.com/castle-engine.io/wp/wp-content/uploads/2022/12/blending_sort.png?ssl=1 "blending\_sort") |
| [![view3dscene viewports](https://forum.castle-engine.io/uploads/default/original/2X/f/fbf9fb1a33609c603ce793b375cf035f746a04d4.png)](https://i0.wp.com/castle-engine.io/wp/wp-content/uploads/2022/12/view3dscene_statue.png?ssl=1 "view3dscene viewports") |

Enjoy new features and a happy New Year! 🙂

(Note: I will _not_ make predictions for next year this time. Because I am hard at work making new _Castle Game Engine_ release, planned for the Christmas that happened last week! 🙂 )

New stuff:

1. New property `TCastleAbstractRootNode.BlendingSort`, which you will usually use as `MyViewport.Items.BlendingSort`, allows to control the blending sorting when multiple scenes may have partially transparent objects.

The full documentation [how to set up blending correctly is here](https://castle-engine.io/blending).

It also supports now new options for sorting 3D objects: `bs3DGround`, `bs3DOrigin`. They may be useful in controlling the order better. For blending to work correctly, the engine must be able to decide _what `TCastleTransform` in the front_ correctly.

2. You can now control the `TCastleSoundSource` playing of its main sound using `TCastleSoundSource.SoundPlaying` property.

3. New property `TCastleUserInterface.TooltipControl` allows to control how does the tooltip look (and work).

Credits: [level with trees from CGE #427 by Freedomax](https://github.com/castle-engine/castle-engine/issues/427), [Bronze figurine of Cthulhu from Sketchfab by Jedi2583](https://sketchfab.com/3d-models/bronze-figurine-of-cthulhu-fd33d0baaf6441daabf253f152afc56c).
