How to extend block

I am making an extension. So, How to make extend blocks like this.
IMG_20210109_093207

I think you cannot do like that.

1 Like

Why??? :face_with_raised_eyebrow::face_with_raised_eyebrow::face_with_raised_eyebrow:

There is no code for that. I think.... :thinking:

1 Like

Instead you can ask for a list. :grin:

1 Like

Means?? :face_with_raised_eyebrow::face_with_raised_eyebrow::face_with_raised_eyebrow:

In extensions we can ask for list block
image

1 Like

Okkkk. Maybe there was any code. I will wait for other users to response.

There is no method to get the extending block, all you can do is just take a list input.

1 Like

I.e. no mutators :grin:


See this @Muhammad_Mansuri

2 Likes

code is much simpler to ask for list

import com.google.appinventor.components.runtime.util.YailList;
...
...
...
public void CustomFont(String a,String b,...,YailList list){
......
...
}

3 Likes

I also want to do this in my extension.

Read the all threads before posting anything :slightly_smiling_face:

3 Likes