property target

(r/w) box target;

Typ

Zugriff

This property sets or gets the target box.
function onSample()
{
    var box = scene.getBoxById("myBox");
    if (box)
    {
        var binding = box.getDataBinding("myBinding");
        if (binding)
        {
            var target = binding.target;
            if (target)
            {
                shell.print("Target box id = " + target.id);
            }
        }
    }
}