This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Honza
wrote ...
2020/12/28
Can I get clicked actor's index?
Honza
2020/12/28
#
Hello, I have an array with actors and I would like to get index of the actor which was clicked.
danpost
2020/12/28
#
Honza wrote...
Hello, I have an array with actors and I would like to get index of the actor which was clicked.
Please elaborate and show current related codes (with attempt).
danpost
2020/12/29
#
Honza wrote...
I would like to get index of the actor which was clicked.
An index is a position number within a list or array. I do not see where one is introduced when a click takes place.
Honza
2020/12/29
#
Its alright now I got it, thank you.
You need to login to post a reply.
X