<doc>
	<legacy_id></legacy_id>
	<name>motionStart</name>
	<type>message</type>

	<syntax>
		<example>motionStart <i>motion</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Sent to the current card of the defaultStack when a motion starts</summary>

	<examples>
<example><p>on motionStart theMotion</p><p>  animateDice <i>-- starts an animtion when the user starts a motion</i></p><p>end motionStart</p></example>
	</examples>

	<history>
		<introduced version="4.5.2">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
	</objects>

	<platforms>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
	</classes>

	<security>
	</security>


	<classification>
		<category>User Interaction</category>
	</classification>

	<references>
		<message tag="motionEnd">motionEnd Message</message>
		<message tag="motionRelease">motionRelease Message</message>
	</references>

	<description>
	<overview>Handle the <b>motionStart</b> message to perform an action when the start of a motion is detected by the device.</overview>

		<parameters>
		<parameter>The <i>motion</i> is the type of motion detected by the device.</parameter>
		</parameters>

	<value></value>
	<comments>The <b>motionStart</b> message is set to the current card of the <property tag="defaultStack">defaultStack</property> when the start of a motion is detected by the device.<p></p><p></p><note>As of iPhoneOS 3.0 the only motion that is generated is &quot;shake&quot;.</note></comments>
	</description>
</doc>