Thanks Subbu.<div><br></div><div>I started looking at what you sent and poking around trying to figure out the code, then realized I could do it &quot;the Etoys way&quot; and put the morph back into its previous holder (which can vary and I store in a player variable).</div>
<div>I wound up using a playfield include tile and replacing <u>playfield</u> with the variable used to store the original holder:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>self getOrigHolder include: self.</div>
</blockquote><div><br></div><div>Stephen</div><div><br></div><div><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 12:53 AM, K. K. Subramaniam <span dir="ltr">&lt;<a href="mailto:kksubbu.ml@gmail.com" target="_blank">kksubbu.ml@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Monday 28 January 2013 09:54 AM, Steve Thomas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m using Etoys and I want to change and objects &quot;holder&quot;<br>
What is the squeak code to embed it in a different object?<br>
</blockquote>
<br></div>
You have to detach the morph from its existing owner and then add it to the destination container. See grabMorph:from and attachMorph: methods for examples.<br>
<br>
Also see senders of addMorph: and its variants addMorphFront:, addMorphBack: for more examples on how to embed morphs.<br>
<br>
A Holder is essentially a PasteUpMorph with some options turned on. Other variants are Playfield, PartsBin etc.<br>
<br>
Regards .. Subbu<br>
<br>
</blockquote></div><br></div>