Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6082283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:16:19+00:00 2026-05-23T11:16:19+00:00

I placed the object in middle of the screen and move the object from

  • 0

I placed the object in middle of the screen and move the object from left to right.(10 objects). If touched the objects and i make as invisible (setHidden) but still object will moving and collided at end of object . What method will use for object make invisible and stop the object at the same position.

I used the following method
1.setHidden
2. removeFromSuperview

But still is not working. Plz help

Sample code:

-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    for(int i = 0; i < no_images; i++)
    {
        img_arrows = [arr_Container objectAtIndex:i];

        UITouch *touch = [[event allTouches]anyObject];

        if([touch view]== img_arrows)
        {
            tag2 = [img_arrows tag];
            //  printf("tag in touch method----->>>>%d\n",tag2);

            switch(tag2)
            {
                case 0:
                    if(y_axis[i] >=190 && y_axis[i] <=214)
                    {
                        if(x_start_arrows > x_end)
                        {   
                            [img_good setHidden:NO];                    
                            [img_arrows setHidden:YES];

                        }
                    }
            }
        }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:16:19+00:00Added an answer on May 23, 2026 at 11:16 am

    This answer explains that a moving button doesn’t actually move until the animation is done. You’ll need to use Quartz 2D, or an NSTimer to move your buttons if you want them to animate and perfectly respond to touches. See this question for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a scene and an object placed in some coordinates. I can transform
When an object in Ninject is bound with InTransientScope() , the object isn't placed
When a value type is boxed, it is placed inside an untyped reference object.
I'm trying to place an object to my cursor location, but there is a
I am trying to place a value (from an object) in a variable and
Hi have the following flash object placed in HTML, flash seems to be rendering
What would be the best way to duplicate an object placed in a list
I am creating a rectangle as a custom control object that is placed within
How can you make a background web request and then update the UI, but
I am using andengine to develop a game in android. I placed an object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.