• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Camera Tool not working with Code created objects on Canvas

Guru ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

Is there a workaround to use the camera with code created objects?

I wrote some scripts to manipulate the camera, and it works fine with all display objects that are on stage from the start of the application.

But when I later add objects via code , the camera ignores these objects, they remain static. Any solution for this problem?

Views

266

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Sep 28, 2017 Sep 28, 2017

You could put a symbol on the stage that acts as a container, and then add objects to that, instead of to the stage directly.

Votes

Translate

Translate
Contributor ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

You could put a symbol on the stage that acts as a container, and then add objects to that, instead of to the stage directly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

LATEST

Good thinking, this works as expected. Thanks a lot.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines