Return-Path: Received: from atl4mhob11.myregisteredsite.com ([209.17.115.49] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5321679 for AE-List@media-motion.tv; Thu, 19 Dec 2013 01:30:38 +0100 Received: from atl4webmail23 ([10.30.71.180]) by atl4mhob11.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id rBJ0XYRp011161 for ; Wed, 18 Dec 2013 19:33:34 -0500 Received: from 220.233.147.134 (chris@chriszwar.com [220.233.147.134]) by atl4webmail23 (Netsol 11.2.30) with WEBMAIL id 13299; Thu, 19 Dec 2013 00:33:34 +0000 From: "Chris Zwar" To: "After Effects Mail List" Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Network Solutions Webmail, Build 11.2.30 X-Originating-IP: [220.233.147.134] X-Forwarded-For: [(null)] X-Authenticated-UID: chris@chriszwar.com Date: Thu, 19 Dec 2013 00:33:34 +0000 Subject: Random position inside mask MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm looking for a way to randomly position a bunch of layers inside any g= iven shape. The shape could be either an image or a mask. Does anyone know of a script that can do this that's already around? I can do it with expressions but the only way I can think of is to use a = loop, and check the source layer using the 'sampleImage' function and kee= p looping random values until one works. This will be a very slow proces= s? Doing it with a script may be just as slow but a lot easier to work with = as it only needs to be run once. Any other suggestions?