Possible to 'detach' children from container?

Thanks for your response. Apologies for my naivety, but what do you mean by using the transition on a proxy? Also, what is SSK2?

I did attempt to transition the group and use an enterFrame function to move the child object accordingly, but the movement was jerky.

Yes, it is not suitable in this instance.

I did something similar a while ago using a container and group…

local composer = require( "composer" ) local scene = composer.newScene() local container, innerGroup local function onEnterFrame() container.y = container.y + 0.25 innerGroup.y = innerGroup.y - 0.25 end function scene:create( event ) local view = self.view container = display.newContainer( view, 100, 50 ) container.x, container.y = display.actualContentWidth \* 0.5, 0 innerGroup = display.newGroup() container:insert( innerGroup ) innerGroup.x, innerGroup.y = container:contentToLocal( display.actualContentWidth \* 0.5, display.contentHeight \* 0.5 ) local bg = display.newRect( innerGroup, 0, 0, 1000, 1000 ) bg:setFillColor( 0.3, 0, 0 ) local shape = display.newRect( innerGroup, 0, 0, 10, 200 ) shape:setFillColor( 0.1, 0.1, 0.7 ) shape.rotation = 15 end function scene:show( event ) if event.phase == "did" then Runtime:addEventListener( "enterFrame", onEnterFrame ) end end scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) return scene

1.  Proxy Part 1 - In the context of my first post, I meant a Lua table.  Create a table with the same x,y values as the container.  Then, call transition on the table.

Finally, have a enterFrame listener on the container that does the following:

A. Calculates dx,dy of container x,y versus proxy.

B. Adds dx,dy to container.

C. Subtracts dx,dy from group inside container.

… repeat next frame

prox·y

ˈpräksē/

noun

noun:  proxy

1.

2.

a figure that can be used to represent the value of something in a calculation.

“the use of a US wealth measure as a  proxy for  the true worldwide measure”

2. SSK 2 - Sorry I forgot to post a link.

  1. Proxy Part 2 - Finally, SSK2 has a special feature called Proxy which is not to be confused with my example above.  It is a smart piece of code that… well I’d have to show you, but it does the above kind of work but in a more elegant way.

There is a example with the link to Proxy (in SSK) that may tell you all you need about this special feature.

Thanks, I will give this a go.

Hey @roaminggamer, just wanted to say thank you, the proxy thing is genius, I had no idea you could apply transitions to non display objects, it works like a charm, and I have a feeling this is going to come in handy a lot in future.

I love both the ‘dumb or manual’ proxy (using enterframes to check it)

and 

The smart proxy (the external library included with  SSK2 written by a very smart developer, not myself).

Cheers,

Ed