
my $behaviour = Clutter::Behaviour::Depth->new();
$behaviour->set_alpha(Clutter::Alpha->new($timeline, 'ease-in-sine'));
$behaviour->set_bounds(-200, 200);
$behaviour->apply($rectangle);
$behaviour->apply($texture);
$timeline->start();

Clutter::Behaviour::Depth is a simple Clutter::Behaviour controlling the depth of a set of actors between a start and end value.
